"use strict";var oa=Object.defineProperty;var ia=(e,t,n)=>t in e?oa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var W=(e,t,n)=>ia(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),G=require("bpmn-js/lib/util/ModelUtil"),ki=require("bpmn-js/lib/NavigatedViewer"),Ti=require("diagram-js-grid-bg"),sa=require("bpmn-js-token-simulation/lib/animation"),aa=require("bpmn-js-token-simulation/lib/features/colored-scopes"),la=require("bpmn-js-token-simulation/lib/features/context-pads"),ca=require("bpmn-js-token-simulation/lib/features/simulation-state"),ua=require("bpmn-js-token-simulation/lib/features/show-scopes"),da=require("bpmn-js-token-simulation/lib/features/token-count"),fa=require("bpmn-js-token-simulation/lib/features/exclusive-gateway-settings"),pa=require("bpmn-js-token-simulation/lib/features/inclusive-gateway-settings"),ma=require("bpmn-js-token-simulation/lib/features/palette"),ha=require("bpmn-js-token-simulation/lib/simulator/Scope"),co=require("bpmn-js-token-simulation/lib/simulator/ScopeTraits"),ht=require("bpmn-js-token-simulation/lib/simulator/util/SetUtil"),uo=require("bpmn-js-token-simulation/lib/simulator/util/EventsUtil"),ne=require("bpmn-js-token-simulation/lib/simulator/util/ModelUtil"),va=require("bpmn-js-token-simulation/lib/simulator/behaviors"),ce=require("bpmn-js-token-simulation/lib/util/EventHelper"),Oi=require("bpmn-js-token-simulation/lib/features/scope-filter"),ga=require("bpmn-js-token-simulation/lib/features/element-colors"),ya=require("bpmn-js-token-simulation/lib/features/element-support/ElementSupport"),ba=require("diagram-js/lib/util/EscapeUtil"),Ea=require("bpmn-js/lib/features/modeling/util/ModelingUtil"),wa=require("bpmn-js/lib/draw/BpmnRenderer"),R=require("bpmn-js/lib/draw/BpmnRenderUtil"),Sa=require("diagram-js/lib/util/SvgTransformUtil"),_a=require("bpmn-js/lib/draw/PathMap"),Ca=require("bpmn-js-i18n-zh/lib/bpmn-js"),Nr=require("vue-i18n"),ka=require("bpmn-js/lib/features/modeling"),Pr=Object.prototype.toString;function Dr(e){return Pr.call(e)==="[object Array]"}function Br(e){return Pr.call(e)==="[object String]"}function Tt(e){return Pr.call(e)==="[object Number]"&&e===e}function Ta(e){return e===void 0}function Cn(e){return typeof e=="function"}const kn=Symbol("ArcoConfigProvider");var Oa=Object.defineProperty,Aa=Object.defineProperties,xa=Object.getOwnPropertyDescriptors,fo=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,po=(e,t,n)=>t in e?Oa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Da=(e,t)=>{for(var n in t||(t={}))Na.call(t,n)&&po(e,n,t[n]);if(fo)for(var n of fo(t))Pa.call(t,n)&&po(e,n,t[n]);return e},Ba=(e,t)=>Aa(e,xa(t));const Ma="A",$a="arco",dr="$arco",Ut=e=>{var t;return(t=e==null?void 0:e.componentPrefix)!=null?t:Ma},Ht=(e,t)=>{var n;t&&t.classPrefix&&(e.config.globalProperties[dr]=Ba(Da({},(n=e.config.globalProperties[dr])!=null?n:{}),{classPrefix:t.classPrefix}))},Ee=e=>{var t,n,r;const o=i.getCurrentInstance(),s=i.inject(kn,void 0),a=(r=(n=s==null?void 0:s.prefixCls)!=null?n:(t=o==null?void 0:o.appContext.config.globalProperties[dr])==null?void 0:t.classPrefix)!=null?r:$a;return e?`${a}-${e}`:a};var Ai=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,s){return o[0]===n?(r=s,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,s=this.__entries__;o<s.length;o++){var a=s[o];n.call(r,a[1],a[0])}},t}()}(),fr=typeof window<"u"&&typeof document<"u"&&window.document===document,hn=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),La=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(hn):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),Ia=2;function Ra(e,t){var n=!1,r=!1,o=0;function s(){n&&(n=!1,e()),r&&l()}function a(){La(s)}function l(){var c=Date.now();if(n){if(c-o<Ia)return;r=!0}else n=!0,r=!1,setTimeout(a,t);o=c}return l}var Va=20,za=["top","right","bottom","left","width","height","size","weight"],Fa=typeof MutationObserver<"u",ja=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Ra(this.refresh.bind(this),Va)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,r=n.indexOf(t);~r&&n.splice(r,1),!n.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!fr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Fa?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!fr||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=za.some(function(s){return!!~r.indexOf(s)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),xi=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},wt=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||hn},Ni=Tn(0,0,0,0);function vn(e){return parseFloat(e)||0}function mo(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(r,o){var s=e["border-"+o+"-width"];return r+vn(s)},0)}function Ua(e){for(var t=["top","right","bottom","left"],n={},r=0,o=t;r<o.length;r++){var s=o[r],a=e["padding-"+s];n[s]=vn(a)}return n}function Ha(e){var t=e.getBBox();return Tn(0,0,t.width,t.height)}function qa(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return Ni;var r=wt(e).getComputedStyle(e),o=Ua(r),s=o.left+o.right,a=o.top+o.bottom,l=vn(r.width),c=vn(r.height);if(r.boxSizing==="border-box"&&(Math.round(l+s)!==t&&(l-=mo(r,"left","right")+s),Math.round(c+a)!==n&&(c-=mo(r,"top","bottom")+a)),!Ga(e)){var d=Math.round(l+s)-t,u=Math.round(c+a)-n;Math.abs(d)!==1&&(l-=d),Math.abs(u)!==1&&(c-=u)}return Tn(o.left,o.top,l,c)}var Wa=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof wt(e).SVGGraphicsElement}:function(e){return e instanceof wt(e).SVGElement&&typeof e.getBBox=="function"}}();function Ga(e){return e===wt(e).document.documentElement}function Ka(e){return fr?Wa(e)?Ha(e):qa(e):Ni}function Ya(e){var t=e.x,n=e.y,r=e.width,o=e.height,s=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(s.prototype);return xi(a,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),a}function Tn(e,t,n,r){return{x:e,y:t,width:n,height:r}}var Xa=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Tn(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Ka(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),Ja=function(){function e(t,n){var r=Ya(n);xi(this,{target:t,contentRect:r})}return e}(),Za=function(){function e(t,n,r){if(this.activeObservations_=[],this.observations_=new Ai,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=r}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof wt(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new Xa(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof wt(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new Ja(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Pi=typeof WeakMap<"u"?new WeakMap:new Ai,Di=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=ja.getInstance(),r=new Za(t,n,this);Pi.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Di.prototype[e]=function(){var t;return(t=Pi.get(this))[e].apply(t,arguments)}});var Bi=function(){return typeof hn.ResizeObserver<"u"?hn.ResizeObserver:Di}(),ho;(function(e){e[e.ELEMENT=1]="ELEMENT",e[e.FUNCTIONAL_COMPONENT=2]="FUNCTIONAL_COMPONENT",e[e.STATEFUL_COMPONENT=4]="STATEFUL_COMPONENT",e[e.COMPONENT=6]="COMPONENT",e[e.TEXT_CHILDREN=8]="TEXT_CHILDREN",e[e.ARRAY_CHILDREN=16]="ARRAY_CHILDREN",e[e.SLOTS_CHILDREN=32]="SLOTS_CHILDREN",e[e.TELEPORT=64]="TELEPORT",e[e.SUSPENSE=128]="SUSPENSE",e[e.COMPONENT_SHOULD_KEEP_ALIVE=256]="COMPONENT_SHOULD_KEEP_ALIVE",e[e.COMPONENT_KEPT_ALIVE=512]="COMPONENT_KEPT_ALIVE"})(ho||(ho={}));var vo;(function(e){e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.DEV_ROOT_FRAGMENT=2048]="DEV_ROOT_FRAGMENT",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL"})(vo||(vo={}));const Mr=e=>!!(e&&e.shapeFlag&1),$r=(e,t)=>!!(e&&e.shapeFlag&6),Mi=(e,t)=>!!(e&&e.shapeFlag&16),Qa=(e,t)=>!!(e&&e.shapeFlag&32),cn=e=>{var t,n;if(e)for(const r of e){if(Mr(r)||$r(r))return r;if(Mi(r,r.children)){const o=cn(r.children);if(o)return o}else if(Qa(r,r.children)){const o=(n=(t=r.children).default)==null?void 0:n.call(t);if(o){const s=cn(o);if(s)return s}}else if(Dr(r)){const o=cn(r);if(o)return o}}},el=e=>{if(!e)return!0;for(const t of e)if(t.children)return!1;return!0},$i=(e,t)=>{if(e&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(Mr(r)||$r(r)){const s=Cn(t)?t(r):t;return e[n]=i.cloneVNode(r,s,!0),!0}const o=Li(r);if(o&&o.length>0&&$i(o,t))return!0}return!1},Li=e=>{if(Mi(e,e.children))return e.children;if(Dr(e))return e},Ii=e=>{var t,n;if(Mr(e))return e.el;if($r(e)){if(((t=e.el)==null?void 0:t.nodeType)===1)return e.el;if((n=e.component)!=null&&n.subTree){const r=Ii(e.component.subTree);if(r)return r}}else{const r=Li(e);return Ri(r)}},Ri=e=>{if(e&&e.length>0)for(const t of e){const n=Ii(t);if(n)return n}},go=e=>{if(e)return Cn(e)?e:()=>e},Vi=typeof window>"u"?global:window,tl=Vi.requestAnimationFrame,yo=Vi.cancelAnimationFrame;function bo(e){let t=0;const n=(...r)=>{t&&yo(t),t=tl(()=>{e(...r),t=0})};return n.cancel=()=>{yo(t),t=0},n}const Lr=()=>{},nl=()=>{const{body:e}=document,t=document.documentElement;let n;try{n=(window.top||window.self||window).document.body}catch{}return{height:Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight,(n==null?void 0:n.scrollHeight)||0,(n==null?void 0:n.clientHeight)||0),width:Math.max(e.scrollWidth,e.offsetWidth,t.clientWidth,t.scrollWidth,t.offsetWidth,(n==null?void 0:n.scrollWidth)||0,(n==null?void 0:n.clientWidth)||0)}},Ir=(()=>{try{return!(typeof window<"u"&&document!==void 0)}catch{return!0}})(),Rn=Ir?Lr:(e,t,n,r=!1)=>{e.addEventListener(t,n,r)},Eo=Ir?Lr:(e,t,n,r=!1)=>{e.removeEventListener(t,n,r)},rl=e=>{const t=document.createElement("div");return t.setAttribute("class",`arco-overlay arco-overlay-${e}`),t},ol=(e,t)=>{var n;return Ir?Lr():(n=document.querySelector(e))!=null?n:void 0},wo=(e,t)=>{if(Br(e)){const n=e[0]==="#"?`[id='${e.slice(1)}']`:e;return ol(n)}return e};var Be=(e,t)=>{for(const[n,r]of t)e[n]=r;return e};const il=i.defineComponent({name:"IconHover",props:{prefix:{type:String},size:{type:String,default:"medium"},disabled:{type:Boolean,default:!1}},setup(){return{prefixCls:Ee("icon-hover")}}});function sl(e,t,n,r,o,s){return i.openBlock(),i.createElementBlock("span",{class:i.normalizeClass([e.prefixCls,{[`${e.prefix}-icon-hover`]:e.prefix,[`${e.prefixCls}-size-${e.size}`]:e.size!=="medium",[`${e.prefixCls}-disabled`]:e.disabled}])},[i.renderSlot(e.$slots,"default")],2)}var zi=Be(il,[["render",sl]]);const al=i.defineComponent({name:"IconClose",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=Ee("icon"),r=i.computed(()=>[n,`${n}-close`,{[`${n}-spin`]:e.spin}]),o=i.computed(()=>{const a={};return e.size&&(a.fontSize=Tt(e.size)?`${e.size}px`:e.size),e.rotate&&(a.transform=`rotate(${e.rotate}deg)`),a});return{cls:r,innerStyle:o,onClick:a=>{t("click",a)}}}}),ll=["stroke-width","stroke-linecap","stroke-linejoin"],cl=i.createElementVNode("path",{d:"M9.857 9.858 24 24m0 0 14.142 14.142M24 24 38.142 9.858M24 24 9.857 38.142"},null,-1),ul=[cl];function dl(e,t,n,r,o,s){return i.openBlock(),i.createElementBlock("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:i.normalizeClass(e.cls),style:i.normalizeStyle(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...a)=>e.onClick&&e.onClick(...a))},ul,14,ll)}var Vn=Be(al,[["render",dl]]);const Fi=Object.assign(Vn,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Vn.name,Vn)}}),fl=i.defineComponent({name:"IconInfoCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=Ee("icon"),r=i.computed(()=>[n,`${n}-info-circle-fill`,{[`${n}-spin`]:e.spin}]),o=i.computed(()=>{const a={};return e.size&&(a.fontSize=Tt(e.size)?`${e.size}px`:e.size),e.rotate&&(a.transform=`rotate(${e.rotate}deg)`),a});return{cls:r,innerStyle:o,onClick:a=>{t("click",a)}}}}),pl=["stroke-width","stroke-linecap","stroke-linejoin"],ml=i.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm2-30a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2Zm0 17h1a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h1v-8a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v11Z",fill:"currentColor",stroke:"none"},null,-1),hl=[ml];function vl(e,t,n,r,o,s){return i.openBlock(),i.createElementBlock("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:i.normalizeClass(e.cls),style:i.normalizeStyle(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...a)=>e.onClick&&e.onClick(...a))},hl,14,pl)}var zn=Be(fl,[["render",vl]]);const gl=Object.assign(zn,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+zn.name,zn)}}),yl=i.defineComponent({name:"IconCheckCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=Ee("icon"),r=i.computed(()=>[n,`${n}-check-circle-fill`,{[`${n}-spin`]:e.spin}]),o=i.computed(()=>{const a={};return e.size&&(a.fontSize=Tt(e.size)?`${e.size}px`:e.size),e.rotate&&(a.transform=`rotate(${e.rotate}deg)`),a});return{cls:r,innerStyle:o,onClick:a=>{t("click",a)}}}}),bl=["stroke-width","stroke-linecap","stroke-linejoin"],El=i.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm10.207-24.379a1 1 0 0 0 0-1.414l-1.414-1.414a1 1 0 0 0-1.414 0L22 26.172l-4.878-4.88a1 1 0 0 0-1.415 0l-1.414 1.415a1 1 0 0 0 0 1.414l7 7a1 1 0 0 0 1.414 0l11.5-11.5Z",fill:"currentColor",stroke:"none"},null,-1),wl=[El];function Sl(e,t,n,r,o,s){return i.openBlock(),i.createElementBlock("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:i.normalizeClass(e.cls),style:i.normalizeStyle(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...a)=>e.onClick&&e.onClick(...a))},wl,14,bl)}var Fn=Be(yl,[["render",Sl]]);const _l=Object.assign(Fn,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Fn.name,Fn)}}),Cl=i.defineComponent({name:"IconExclamationCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=Ee("icon"),r=i.computed(()=>[n,`${n}-exclamation-circle-fill`,{[`${n}-spin`]:e.spin}]),o=i.computed(()=>{const a={};return e.size&&(a.fontSize=Tt(e.size)?`${e.size}px`:e.size),e.rotate&&(a.transform=`rotate(${e.rotate}deg)`),a});return{cls:r,innerStyle:o,onClick:a=>{t("click",a)}}}}),kl=["stroke-width","stroke-linecap","stroke-linejoin"],Tl=i.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm-2-11a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v2Zm4-18a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V15Z",fill:"currentColor",stroke:"none"},null,-1),Ol=[Tl];function Al(e,t,n,r,o,s){return i.openBlock(),i.createElementBlock("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:i.normalizeClass(e.cls),style:i.normalizeStyle(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...a)=>e.onClick&&e.onClick(...a))},Ol,14,kl)}var jn=Be(Cl,[["render",Al]]);const xl=Object.assign(jn,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+jn.name,jn)}}),Nl=i.defineComponent({name:"IconCloseCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=Ee("icon"),r=i.computed(()=>[n,`${n}-close-circle-fill`,{[`${n}-spin`]:e.spin}]),o=i.computed(()=>{const a={};return e.size&&(a.fontSize=Tt(e.size)?`${e.size}px`:e.size),e.rotate&&(a.transform=`rotate(${e.rotate}deg)`),a});return{cls:r,innerStyle:o,onClick:a=>{t("click",a)}}}}),Pl=["stroke-width","stroke-linecap","stroke-linejoin"],Dl=i.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm4.955-27.771-4.95 4.95-4.95-4.95a1 1 0 0 0-1.414 0l-1.414 1.414a1 1 0 0 0 0 1.414l4.95 4.95-4.95 4.95a1 1 0 0 0 0 1.414l1.414 1.414a1 1 0 0 0 1.414 0l4.95-4.95 4.95 4.95a1 1 0 0 0 1.414 0l1.414-1.414a1 1 0 0 0 0-1.414l-4.95-4.95 4.95-4.95a1 1 0 0 0 0-1.414l-1.414-1.414a1 1 0 0 0-1.414 0Z",fill:"currentColor",stroke:"none"},null,-1),Bl=[Dl];function Ml(e,t,n,r,o,s){return i.openBlock(),i.createElementBlock("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:i.normalizeClass(e.cls),style:i.normalizeStyle(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...a)=>e.onClick&&e.onClick(...a))},Bl,14,Pl)}var Un=Be(Nl,[["render",Ml]]);const $l=Object.assign(Un,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Un.name,Un)}}),Ll=["info","success","warning","error"],Il=i.defineComponent({name:"IconLoading",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=Ee("icon"),r=i.computed(()=>[n,`${n}-loading`,{[`${n}-spin`]:e.spin}]),o=i.computed(()=>{const a={};return e.size&&(a.fontSize=Tt(e.size)?`${e.size}px`:e.size),e.rotate&&(a.transform=`rotate(${e.rotate}deg)`),a});return{cls:r,innerStyle:o,onClick:a=>{t("click",a)}}}}),Rl=["stroke-width","stroke-linecap","stroke-linejoin"],Vl=i.createElementVNode("path",{d:"M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6"},null,-1),zl=[Vl];function Fl(e,t,n,r,o,s){return i.openBlock(),i.createElementBlock("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:i.normalizeClass(e.cls),style:i.normalizeStyle(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...a)=>e.onClick&&e.onClick(...a))},zl,14,Rl)}var Hn=Be(Il,[["render",Fl]]);const On=Object.assign(Hn,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Hn.name,Hn)}});var jl=Object.defineProperty,So=Object.getOwnPropertySymbols,Ul=Object.prototype.hasOwnProperty,Hl=Object.prototype.propertyIsEnumerable,_o=(e,t,n)=>t in e?jl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ql=(e,t)=>{for(var n in t||(t={}))Ul.call(t,n)&&_o(e,n,t[n]);if(So)for(var n of So(t))Hl.call(t,n)&&_o(e,n,t[n]);return e};const Wl=(e,t)=>{const n=ql({},e);for(const r of t)r in n&&delete n[r];return n},Gl=Symbol("ArcoFormItemContext"),Kl=({size:e,disabled:t,error:n,uninject:r}={})=>{const o=r?{}:i.inject(Gl,{}),s=i.computed(()=>{var u;return(u=e==null?void 0:e.value)!=null?u:o.size}),a=i.computed(()=>(t==null?void 0:t.value)||o.disabled),l=i.computed(()=>(n==null?void 0:n.value)||o.error),c=i.toRef(o,"feedback"),d=i.toRef(o,"eventHandlers");return{formItemCtx:o,mergedSize:s,mergedDisabled:a,mergedError:l,feedback:c,eventHandlers:d}},ji=(e,{defaultValue:t="medium"}={})=>{const n=i.inject(kn,void 0);return{mergedSize:i.computed(()=>{var o,s;return(s=(o=e==null?void 0:e.value)!=null?o:n==null?void 0:n.size)!=null?s:t})}},Ui=Symbol("ArcoButtonGroup"),Yl=i.defineComponent({name:"Button",components:{IconLoading:On},props:{type:{type:String},shape:{type:String},status:{type:String},size:{type:String},long:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean},htmlType:{type:String,default:"button"},href:String},emits:{click:e=>!0},setup(e,{emit:t}){const{size:n,disabled:r}=i.toRefs(e),o=Ee("btn"),s=i.inject(Ui,void 0),a=i.computed(()=>{var b;return(b=n.value)!=null?b:s==null?void 0:s.size}),l=i.computed(()=>!!(r.value||s!=null&&s.disabled)),{mergedSize:c,mergedDisabled:d}=Kl({size:a,disabled:l}),{mergedSize:u}=ji(c),m=i.computed(()=>{var b,h,y,O,x,I;return[o,`${o}-${(h=(b=e.type)!=null?b:s==null?void 0:s.type)!=null?h:"secondary"}`,`${o}-shape-${(O=(y=e.shape)!=null?y:s==null?void 0:s.shape)!=null?O:"square"}`,`${o}-size-${u.value}`,`${o}-status-${(I=(x=e.status)!=null?x:s==null?void 0:s.status)!=null?I:"normal"}`,{[`${o}-long`]:e.long,[`${o}-loading`]:e.loading,[`${o}-disabled`]:d.value,[`${o}-link`]:Br(e.href)}]});return{prefixCls:o,cls:m,mergedDisabled:d,handleClick:b=>{if(e.disabled||e.loading){b.preventDefault();return}t("click",b)}}}}),Xl=["href"],Jl=["type","disabled"];function Zl(e,t,n,r,o,s){const a=i.resolveComponent("icon-loading");return e.href?(i.openBlock(),i.createElementBlock("a",{key:0,class:i.normalizeClass([e.cls,{[`${e.prefixCls}-only-icon`]:e.$slots.icon&&!e.$slots.default}]),href:e.mergedDisabled||e.loading?void 0:e.href,onClick:t[0]||(t[0]=(...l)=>e.handleClick&&e.handleClick(...l))},[e.loading||e.$slots.icon?(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(`${e.prefixCls}-icon`)},[e.loading?(i.openBlock(),i.createBlock(a,{key:0,spin:"true"})):i.renderSlot(e.$slots,"icon",{key:1})],2)):i.createCommentVNode("v-if",!0),i.renderSlot(e.$slots,"default")],10,Xl)):(i.openBlock(),i.createElementBlock("button",{key:1,class:i.normalizeClass([e.cls,{[`${e.prefixCls}-only-icon`]:e.$slots.icon&&!e.$slots.default}]),type:e.htmlType,disabled:e.mergedDisabled,onClick:t[1]||(t[1]=(...l)=>e.handleClick&&e.handleClick(...l))},[e.loading||e.$slots.icon?(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(`${e.prefixCls}-icon`)},[e.loading?(i.openBlock(),i.createBlock(a,{key:0,spin:!0})):i.renderSlot(e.$slots,"icon",{key:1})],2)):i.createCommentVNode("v-if",!0),i.renderSlot(e.$slots,"default")],10,Jl))}var qn=Be(Yl,[["render",Zl]]);const Ql=i.defineComponent({name:"ButtonGroup",props:{type:{type:String},status:{type:String},shape:{type:String},size:{type:String},disabled:{type:Boolean}},setup(e){const{type:t,size:n,status:r,disabled:o,shape:s}=i.toRefs(e),a=Ee("btn-group");return i.provide(Ui,i.reactive({type:t,size:n,shape:s,status:r,disabled:o})),{prefixCls:a}}});function ec(e,t,n,r,o,s){return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(e.prefixCls)},[i.renderSlot(e.$slots,"default")],2)}var un=Be(Ql,[["render",ec]]);const Je=Object.assign(qn,{Group:un,install:(e,t)=>{Ht(e,t);const n=Ut(t);e.component(n+qn.name,qn),e.component(n+un.name,un)}});var tc=Object.defineProperty,Co=Object.getOwnPropertySymbols,nc=Object.prototype.hasOwnProperty,rc=Object.prototype.propertyIsEnumerable,ko=(e,t,n)=>t in e?tc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Dt=(e,t)=>{for(var n in t||(t={}))nc.call(t,n)&&ko(e,n,t[n]);if(Co)for(var n of Co(t))rc.call(t,n)&&ko(e,n,t[n]);return e};const oc=()=>{const{height:e,width:t}=nl();return{width:Math.min(t,window.innerWidth),height:Math.min(e,window.innerHeight)}},To=(e,t)=>{var n,r;const o=e.getBoundingClientRect();return{top:o.top,bottom:o.bottom,left:o.left,right:o.right,scrollTop:o.top-t.top,scrollBottom:o.bottom-t.top,scrollLeft:o.left-t.left,scrollRight:o.right-t.left,width:(n=e.offsetWidth)!=null?n:e.clientWidth,height:(r=e.offsetHeight)!=null?r:e.clientHeight}},ic=e=>{switch(e){case"top":case"tl":case"tr":return"top";case"bottom":case"bl":case"br":return"bottom";case"left":case"lt":case"lb":return"left";case"right":case"rt":case"rb":return"right";default:return"top"}},en=(e,t)=>{switch(t){case"top":switch(e){case"bottom":return"top";case"bl":return"tl";case"br":return"tr";default:return e}case"bottom":switch(e){case"top":return"bottom";case"tl":return"bl";case"tr":return"br";default:return e}case"left":switch(e){case"right":return"left";case"rt":return"lt";case"rb":return"lb";default:return e}case"right":switch(e){case"left":return"right";case"lt":return"rt";case"lb":return"rb";default:return e}default:return e}},sc=(e,t,{containerRect:n,triggerRect:r,popupRect:o,offset:s,translate:a})=>{const l=ic(e),c=oc(),d={top:n.top+t.top,bottom:c.height-(n.top+t.top+o.height),left:n.left+t.left,right:c.width-(n.left+t.left+o.width)};let u=e;if(l==="top"&&d.top<0)if(r.top>o.height)t.top=-n.top;else{const m=Bt("bottom",r,o,{offset:s,translate:a});c.height-(n.top+m.top+o.height)>0&&(u=en(e,"bottom"),t.top=m.top)}if(l==="bottom"&&d.bottom<0)if(c.height-r.bottom>o.height)t.top=-n.top+(c.height-o.height);else{const m=Bt("top",r,o,{offset:s,translate:a});n.top+m.top>0&&(u=en(e,"top"),t.top=m.top)}if(l==="left"&&d.left<0)if(r.left>o.width)t.left=-n.left;else{const m=Bt("right",r,o,{offset:s,translate:a});c.width-(n.left+m.left+o.width)>0&&(u=en(e,"right"),t.left=m.left)}if(l==="right"&&d.right<0)if(c.width-r.right>o.width)t.left=-n.left+(c.width-o.width);else{const m=Bt("left",r,o,{offset:s,translate:a});n.left+m.left>0&&(u=en(e,"left"),t.left=m.left)}return(l==="top"||l==="bottom")&&(d.left<0?t.left=-n.left:d.right<0&&(t.left=-n.left+(c.width-o.width))),(l==="left"||l==="right")&&(d.top<0?t.top=-n.top:d.bottom<0&&(t.top=-n.top+(c.height-o.height))),{popupPosition:t,position:u}},Bt=(e,t,n,{offset:r=0,translate:o=[0,0]}={})=>{var s;const a=(s=Dr(o)?o:o[e])!=null?s:[0,0];switch(e){case"top":return{left:t.scrollLeft+Math.round(t.width/2)-Math.round(n.width/2)+a[0],top:t.scrollTop-n.height-r+a[1]};case"tl":return{left:t.scrollLeft+a[0],top:t.scrollTop-n.height-r+a[1]};case"tr":return{left:t.scrollRight-n.width+a[0],top:t.scrollTop-n.height-r+a[1]};case"bottom":return{left:t.scrollLeft+Math.round(t.width/2)-Math.round(n.width/2)+a[0],top:t.scrollBottom+r+a[1]};case"bl":return{left:t.scrollLeft+a[0],top:t.scrollBottom+r+a[1]};case"br":return{left:t.scrollRight-n.width+a[0],top:t.scrollBottom+r+a[1]};case"left":return{left:t.scrollLeft-n.width-r+a[0],top:t.scrollTop+Math.round(t.height/2)-Math.round(n.height/2)+a[1]};case"lt":return{left:t.scrollLeft-n.width-r+a[0],top:t.scrollTop+a[1]};case"lb":return{left:t.scrollLeft-n.width-r+a[0],top:t.scrollBottom-n.height+a[1]};case"right":return{left:t.scrollRight+r+a[0],top:t.scrollTop+Math.round(t.height/2)-Math.round(n.height/2)+a[1]};case"rt":return{left:t.scrollRight+r+a[0],top:t.scrollTop+a[1]};case"rb":return{left:t.scrollRight+r+a[0],top:t.scrollBottom-n.height+a[1]};default:return{left:0,top:0}}},ac=e=>{let t="0";["top","bottom"].includes(e)?t="50%":["left","lt","lb","tr","br"].includes(e)&&(t="100%");let n="0";return["left","right"].includes(e)?n="50%":["top","tl","tr","lb","rb"].includes(e)&&(n="100%"),`${t} ${n}`},lc=(e,t,n,r,{offset:o=0,translate:s=[0,0],customStyle:a={},autoFitPosition:l=!1}={})=>{let c=e,d=Bt(e,n,r,{offset:o,translate:s});if(l){const m=sc(e,d,{containerRect:t,popupRect:r,triggerRect:n,offset:o,translate:s});d=m.popupPosition,c=m.position}return{style:Dt({left:`${d.left}px`,top:`${d.top}px`},a),position:c}},cc=(e,t,n,{customStyle:r={}})=>{if(["top","tl","tr","bottom","bl","br"].includes(e)){let s=Math.abs(t.scrollLeft+t.width/2-n.scrollLeft);return s>n.width-8&&(t.width>n.width?s=n.width/2:s=n.width-8),["top","tl","tr"].includes(e)?Dt({left:`${s}px`,bottom:"0",transform:"translate(-50%,50%) rotate(45deg)"},r):Dt({left:`${s}px`,top:"0",transform:"translate(-50%,-50%) rotate(45deg)"},r)}let o=Math.abs(t.scrollTop+t.height/2-n.scrollTop);return o>n.height-8&&(t.height>n.height?o=n.height/2:o=n.height-8),["left","lt","lb"].includes(e)?Dt({top:`${o}px`,right:"0",transform:"translate(50%,-50%) rotate(45deg)"},r):Dt({top:`${o}px`,left:"0",transform:"translate(-50%,-50%) rotate(45deg)"},r)},uc=e=>e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth,Oo=e=>{var t;const n=[];let r=e;for(;r&&r!==document.documentElement;)uc(r)&&n.push(r),r=(t=r.parentElement)!=null?t:void 0;return n},Hi=()=>{const e={},t=i.ref(),n=()=>{const r=Ri(e.value);r!==t.value&&(t.value=r)};return i.onMounted(()=>n()),i.onUpdated(()=>n()),{children:e,firstElement:t}};var Ao=i.defineComponent({name:"ResizeObserver",props:{watchOnUpdated:Boolean},emits:["resize"],setup(e,{emit:t,slots:n}){const{children:r,firstElement:o}=Hi();let s;const a=c=>{c&&(s=new Bi(d=>{const u=d[0];t("resize",u)}),s.observe(c))},l=()=>{s&&(s.disconnect(),s=null)};return i.watch(o,c=>{s&&l(),c&&a(c)}),i.onBeforeUnmount(()=>{s&&l()}),()=>{var c;return r.value=(c=n.default)==null?void 0:c.call(n),r.value}}});function dc(e,t){const n=i.ref(e[t]);return i.onUpdated(()=>{const r=e[t];n.value!==r&&(n.value=r)}),n}const xo=Symbol("ArcoTrigger"),fc=1e3,pc=5e3,mc=1;class hc{constructor(){this.popupStack={popup:new Set,dialog:new Set,message:new Set},this.getNextZIndex=t=>(t==="message"?Array.from(this.popupStack.message).pop()||pc:Array.from(this.popupStack.popup).pop()||fc)+mc,this.add=t=>{const n=this.getNextZIndex(t);return this.popupStack[t].add(n),t==="dialog"&&this.popupStack.popup.add(n),n},this.delete=(t,n)=>{this.popupStack[n].delete(t),n==="dialog"&&this.popupStack.popup.delete(t)},this.isLastDialog=t=>this.popupStack.dialog.size>1?t===Array.from(this.popupStack.dialog).pop():!0}}const Wn=new hc;function qi(e,{visible:t,runOnMounted:n}={}){const r=i.ref(0),o=()=>{r.value=Wn.add(e)},s=()=>{Wn.delete(r.value,e)},a=()=>e==="dialog"?Wn.isLastDialog(r.value):!1;return i.watch(()=>t==null?void 0:t.value,l=>{l?o():s()},{immediate:!0}),n&&(i.onMounted(()=>{o()}),i.onBeforeUnmount(()=>{s()})),{zIndex:i.readonly(r),open:o,close:s,isLastDialog:a}}const vc=({elementRef:e,onResize:t})=>{let n;return{createResizeObserver:()=>{e.value&&(n=new Bi(s=>{const a=s[0];Cn(t)&&t(a)}),n.observe(e.value))},destroyResizeObserver:()=>{n&&(n.disconnect(),n=null)}}};var gc=i.defineComponent({name:"ClientOnly",setup(e,{slots:t}){const n=i.ref(!1);return i.onMounted(()=>n.value=!0),()=>{var r;return n.value?(r=t.default)==null?void 0:r.call(t):null}}});const yc=({popupContainer:e,visible:t,defaultContainer:n="body",documentContainer:r})=>{const o=i.ref(e.value),s=i.ref(),a=()=>{const l=wo(e.value),c=l?e.value:n,d=l??(r?document.documentElement:wo(n));c!==o.value&&(o.value=c),d!==s.value&&(s.value=d)};return i.onMounted(()=>a()),i.watch(t,l=>{o.value!==e.value&&l&&a()}),{teleportContainer:o,containerRef:s}};var bc=Object.defineProperty,Ec=Object.defineProperties,wc=Object.getOwnPropertyDescriptors,No=Object.getOwnPropertySymbols,Sc=Object.prototype.hasOwnProperty,_c=Object.prototype.propertyIsEnumerable,Po=(e,t,n)=>t in e?bc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cc=(e,t)=>{for(var n in t||(t={}))Sc.call(t,n)&&Po(e,n,t[n]);if(No)for(var n of No(t))_c.call(t,n)&&Po(e,n,t[n]);return e},kc=(e,t)=>Ec(e,wc(t));const Tc=["onClick","onMouseenter","onMouseleave","onFocusin","onFocusout","onContextmenu"];var Gn=i.defineComponent({name:"Trigger",inheritAttrs:!1,props:{popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},trigger:{type:[String,Array],default:"hover"},position:{type:String,default:"bottom"},disabled:{type:Boolean,default:!1},popupOffset:{type:Number,default:0},popupTranslate:{type:[Array,Object]},showArrow:{type:Boolean,default:!1},alignPoint:{type:Boolean,default:!1},popupHoverStay:{type:Boolean,default:!0},blurToClose:{type:Boolean,default:!0},clickToClose:{type:Boolean,default:!0},clickOutsideToClose:{type:Boolean,default:!0},unmountOnClose:{type:Boolean,default:!0},contentClass:{type:[String,Array,Object]},contentStyle:{type:Object},arrowClass:{type:[String,Array,Object]},arrowStyle:{type:Object},popupStyle:{type:Object},animationName:{type:String,default:"fade-in"},duration:{type:[Number,Object]},mouseEnterDelay:{type:Number,default:100},mouseLeaveDelay:{type:Number,default:100},focusDelay:{type:Number,default:0},autoFitPopupWidth:{type:Boolean,default:!1},autoFitPopupMinWidth:{type:Boolean,default:!1},autoFixPosition:{type:Boolean,default:!0},popupContainer:{type:[String,Object]},updateAtScroll:{type:Boolean,default:!1},autoFitTransformOrigin:{type:Boolean,default:!1},hideEmpty:{type:Boolean,default:!1},openedClass:{type:[String,Array,Object]},autoFitPosition:{type:Boolean,default:!0},renderToBody:{type:Boolean,default:!0},preventFocus:{type:Boolean,default:!1},scrollToClose:{type:Boolean,default:!1},scrollToCloseDistance:{type:Number,default:0}},emits:{"update:popupVisible":e=>!0,popupVisibleChange:e=>!0,show:()=>!0,hide:()=>!0,resize:()=>!0},setup(e,{emit:t,slots:n,attrs:r}){const{popupContainer:o}=i.toRefs(e),s=Ee("trigger"),a=i.computed(()=>Wl(r,Tc)),l=i.inject(kn,void 0),c=i.computed(()=>[].concat(e.trigger)),d=new Set,u=i.inject(xo,void 0),{children:m,firstElement:S}=Hi(),b=i.ref(),h=i.ref(e.defaultPopupVisible),y=i.ref(e.position),O=i.ref({}),x=i.ref({}),I=i.ref({}),B=i.ref(),p=i.ref({top:0,left:0});let V=null,g=null;const f=i.computed(()=>{var D;return(D=e.popupVisible)!=null?D:h.value}),{teleportContainer:v,containerRef:C}=yc({popupContainer:o,visible:f,documentContainer:!0}),{zIndex:P}=qi("popup",{visible:f});let A=0,$=!1,N=!1;const k=()=>{A&&(window.clearTimeout(A),A=0)},z=D=>{if(e.alignPoint){const{pageX:Y,pageY:ge}=D;p.value={top:ge,left:Y}}},T=()=>{if(!S.value||!b.value||!C.value)return;const D=C.value.getBoundingClientRect(),Y=e.alignPoint?{top:p.value.top,bottom:p.value.top,left:p.value.left,right:p.value.left,scrollTop:p.value.top,scrollBottom:p.value.top,scrollLeft:p.value.left,scrollRight:p.value.left,width:0,height:0}:To(S.value,D),ge=()=>To(b.value,D),Ye=ge(),{style:Ue,position:Xe}=lc(e.position,D,Y,Ye,{offset:e.popupOffset,translate:e.popupTranslate,customStyle:e.popupStyle,autoFitPosition:e.autoFitPosition});e.autoFitTransformOrigin&&(x.value={transformOrigin:ac(Xe)}),e.autoFitPopupMinWidth?Ue.minWidth=`${Y.width}px`:e.autoFitPopupWidth&&(Ue.width=`${Y.width}px`),y.value!==Xe&&(y.value=Xe),O.value=Ue,e.showArrow&&i.nextTick(()=>{I.value=cc(Xe,Y,ge(),{customStyle:e.arrowStyle})})},F=(D,Y)=>{if(D===f.value&&A===0)return;const ge=()=>{h.value=D,t("update:popupVisible",D),t("popupVisibleChange",D),D&&i.nextTick(()=>{T()})};D||(V=null,g=null),Y?(k(),D!==f.value&&(A=window.setTimeout(ge,Y))):ge()},q=D=>{var Y;(Y=r.onClick)==null||Y.call(r,D),!(e.disabled||f.value&&!e.clickToClose)&&(c.value.includes("click")?(z(D),F(!f.value)):c.value.includes("contextMenu")&&f.value&&F(!1))},J=D=>{var Y;(Y=r.onMouseenter)==null||Y.call(r,D),!(e.disabled||!c.value.includes("hover"))&&(z(D),F(!0,e.mouseEnterDelay))},Q=D=>{u==null||u.onMouseenter(D),J(D)},de=D=>{var Y;(Y=r.onMouseleave)==null||Y.call(r,D),!(e.disabled||!c.value.includes("hover"))&&F(!1,e.mouseLeaveDelay)},ae=D=>{u==null||u.onMouseleave(D),de(D)},he=D=>{var Y;(Y=r.onFocusin)==null||Y.call(r,D),!(e.disabled||!c.value.includes("focus"))&&F(!0,e.focusDelay)},fe=D=>{var Y;(Y=r.onFocusout)==null||Y.call(r,D),!(e.disabled||!c.value.includes("focus"))&&e.blurToClose&&F(!1)},pe=D=>{var Y;(Y=r.onContextmenu)==null||Y.call(r,D),!(e.disabled||!c.value.includes("contextMenu")||f.value&&!e.clickToClose)&&(z(D),F(!f.value),D.preventDefault())},ye=D=>{d.add(D),u==null||u.addChildRef(D)},Oe=D=>{d.delete(D),u==null||u.removeChildRef(D)};i.provide(xo,i.reactive({onMouseenter:Q,onMouseleave:ae,addChildRef:ye,removeChildRef:Oe}));const ve=()=>{Eo(document.documentElement,"mousedown",M),$=!1},Me=dc(n,"content"),E=i.computed(()=>{var D;return e.hideEmpty&&el((D=Me.value)==null?void 0:D.call(Me))}),M=D=>{var Y,ge,Ye;if(!((Y=S.value)!=null&&Y.contains(D.target)||(ge=b.value)!=null&&ge.contains(D.target))){for(const Ue of d)if((Ye=Ue.value)!=null&&Ye.contains(D.target))return;ve(),F(!1)}},L=(D,Y)=>{const[ge,Ye]=D,{scrollTop:Ue,scrollLeft:Xe}=Y;return Math.abs(Ue-ge)>=e.scrollToCloseDistance||Math.abs(Xe-Ye)>=e.scrollToCloseDistance},K=bo(D=>{if(f.value)if(e.scrollToClose||l!=null&&l.scrollToClose){const Y=D.target;V||(V=[Y.scrollTop,Y.scrollLeft]),L(V,Y)?F(!1):T()}else T()}),H=()=>{Eo(window,"scroll",j),N=!1},j=bo(D=>{const Y=D.target.documentElement;g||(g=[Y.scrollTop,Y.scrollLeft]),L(g,Y)&&(F(!1),H())}),ee=()=>{f.value&&T()},re=()=>{ee(),t("resize")},me=D=>{e.preventFocus&&D.preventDefault()};u==null||u.addChildRef(b);const je=i.computed(()=>f.value?e.openedClass:void 0);let se;i.watch(f,D=>{if(e.clickOutsideToClose&&(!D&&$?ve():D&&!$&&(Rn(document.documentElement,"mousedown",M),$=!0)),(e.scrollToClose||l!=null&&l.scrollToClose)&&(Rn(window,"scroll",j),N=!0),e.updateAtScroll||l!=null&&l.updateAtScroll){if(D){se=Oo(S.value);for(const Y of se)Y.addEventListener("scroll",K)}else if(se){for(const Y of se)Y.removeEventListener("scroll",K);se=void 0}}D&&($e.value=!0)}),i.watch(()=>[e.autoFitPopupWidth,e.autoFitPopupMinWidth],()=>{f.value&&T()});const{createResizeObserver:ie,destroyResizeObserver:rt}=vc({elementRef:C,onResize:ee});i.onMounted(()=>{if(ie(),f.value&&(T(),e.clickOutsideToClose&&!$&&(Rn(document.documentElement,"mousedown",M),$=!0),e.updateAtScroll||l!=null&&l.updateAtScroll)){se=Oo(S.value);for(const D of se)D.addEventListener("scroll",K)}}),i.onUpdated(()=>{f.value&&T()}),i.onDeactivated(()=>{F(!1)}),i.onBeforeUnmount(()=>{if(u==null||u.removeChildRef(b),rt(),$&&ve(),N&&H(),se){for(const D of se)D.removeEventListener("scroll",K);se=void 0}});const $e=i.ref(f.value),Re=i.ref(!1),ot=()=>{Re.value=!0},dt=()=>{Re.value=!1,f.value&&t("show")},ft=()=>{Re.value=!1,f.value||($e.value=!1,t("hide"))};return()=>{var D,Y;return m.value=(Y=(D=n.default)==null?void 0:D.call(n))!=null?Y:[],$i(m.value,{class:je.value,onClick:q,onMouseenter:J,onMouseleave:de,onFocusin:he,onFocusout:fe,onContextmenu:pe}),i.createVNode(i.Fragment,null,[e.autoFixPosition?i.createVNode(Ao,{onResize:re},{default:()=>[m.value]}):m.value,i.createVNode(gc,null,{default:()=>[i.createVNode(i.Teleport,{to:v.value,disabled:!e.renderToBody},{default:()=>[(!e.unmountOnClose||f.value||$e.value)&&!E.value&&i.createVNode(Ao,{onResize:ee},{default:()=>[i.createVNode("div",i.mergeProps({ref:b,class:[`${s}-popup`,`${s}-position-${y.value}`],style:kc(Cc({},O.value),{zIndex:P.value,pointerEvents:Re.value?"none":"auto"}),"trigger-placement":y.value,onMouseenter:Q,onMouseleave:ae,onMousedown:me},a.value),[i.createVNode(i.Transition,{name:e.animationName,duration:e.duration,appear:!0,onBeforeEnter:ot,onAfterEnter:dt,onBeforeLeave:ot,onAfterLeave:ft},{default:()=>{var ge;return[i.withDirectives(i.createVNode("div",{class:`${s}-popup-wrapper`,style:x.value},[i.createVNode("div",{class:[`${s}-content`,e.contentClass],style:e.contentStyle},[(ge=n.content)==null?void 0:ge.call(n)]),e.showArrow&&i.createVNode("div",{ref:B,class:[`${s}-arrow`,e.arrowClass],style:I.value},null)]),[[i.vShow,f.value]])]}})])]})]})]})])}}});const Oc=Object.assign(Gn,{install:(e,t)=>{Ht(e,t);const n=Ut(t);e.component(n+Gn.name,Gn)}}),Ac=5;var xc=i.defineComponent({name:"DotLoading",props:{size:{type:Number}},setup(e){const t=Ee("dot-loading");return()=>{const n=e.size?{width:`${e.size}px`,height:`${e.size}px`}:{};return i.createVNode("div",{class:t,style:{width:e.size?`${e.size*7}px`:void 0,height:e.size?`${e.size}px`:void 0}},[Array(Ac).fill(1).map((r,o)=>i.createVNode("div",{class:`${t}-item`,key:o,style:n},null))])}}}),Kn=i.defineComponent({name:"Spin",props:{size:{type:Number},loading:Boolean,dot:Boolean,tip:String,hideIcon:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=Ee("spin"),r=i.inject(kn,void 0),o=i.computed(()=>[n,{[`${n}-loading`]:e.loading,[`${n}-with-tip`]:e.tip&&!t.default}]),s=()=>{if(t.icon){const l=cn(t.icon());if(l)return i.cloneVNode(l,{spin:!0})}return t.element?t.element():e.dot?i.createVNode(xc,{size:e.size},null):r!=null&&r.slots.loading?r.slots.loading():i.createVNode(On,{spin:!0,size:e.size},null)},a=()=>{var l,c,d;const u=e.size?{fontSize:`${e.size}px`}:void 0,m=!!((l=t.tip)!=null?l:e.tip);return i.createVNode(i.Fragment,null,[!e.hideIcon&&i.createVNode("div",{class:`${n}-icon`,style:u},[s()]),m&&i.createVNode("div",{class:`${n}-tip`},[(d=(c=t.tip)==null?void 0:c.call(t))!=null?d:e.tip])])};return()=>i.createVNode("div",{class:o.value},[t.default?i.createVNode(i.Fragment,null,[t.default(),e.loading&&i.createVNode("div",{class:`${n}-mask`},[i.createVNode("div",{class:`${n}-mask-icon`},[a()])])]):a()])}});const Rr=Object.assign(Kn,{install:(e,t)=>{Ht(e,t);const n=Ut(t);e.component(n+Kn.name,Kn)}}),Nc=i.defineComponent({name:"Popover",components:{Trigger:Oc},props:{popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},title:String,content:String,trigger:{type:[String,Array],default:"hover"},position:{type:String,default:"top"},contentClass:{type:[String,Array,Object]},contentStyle:{type:Object},arrowClass:{type:[String,Array,Object]},arrowStyle:{type:Object},popupContainer:{type:[String,Object]}},emits:{"update:popupVisible":e=>!0,popupVisibleChange:e=>!0},setup(e,{emit:t}){const n=Ee("popover"),r=i.ref(e.defaultPopupVisible),o=i.computed(()=>{var c;return(c=e.popupVisible)!=null?c:r.value}),s=c=>{r.value=c,t("update:popupVisible",c),t("popupVisibleChange",c)},a=i.computed(()=>[`${n}-popup-content`,e.contentClass]),l=i.computed(()=>[`${n}-popup-arrow`,e.arrowClass]);return{prefixCls:n,computedPopupVisible:o,contentCls:a,arrowCls:l,handlePopupVisibleChange:s}}});function Pc(e,t,n,r,o,s){const a=i.resolveComponent("trigger");return i.openBlock(),i.createBlock(a,{class:i.normalizeClass(e.prefixCls),trigger:e.trigger,position:e.position,"popup-visible":e.computedPopupVisible,"popup-offset":10,"content-class":e.contentCls,"content-style":e.contentStyle,"arrow-class":e.arrowCls,"arrow-style":e.arrowStyle,"show-arrow":"","popup-container":e.popupContainer,"animation-name":"zoom-in-fade-out","auto-fit-transform-origin":"",onPopupVisibleChange:e.handlePopupVisibleChange},{content:i.withCtx(()=>[i.createElementVNode("div",{class:i.normalizeClass(`${e.prefixCls}-title`)},[i.renderSlot(e.$slots,"title",{},()=>[i.createTextVNode(i.toDisplayString(e.title),1)])],2),i.createElementVNode("div",{class:i.normalizeClass(`${e.prefixCls}-content`)},[i.renderSlot(e.$slots,"content",{},()=>[i.createTextVNode(i.toDisplayString(e.content),1)])],2)]),default:i.withCtx(()=>[i.renderSlot(e.$slots,"default")]),_:3},8,["class","trigger","position","popup-visible","content-class","content-style","arrow-class","arrow-style","popup-container","onPopupVisibleChange"])}var Yn=Be(Nc,[["render",Pc]]);const Mt=Object.assign(Yn,{install:(e,t)=>{Ht(e,t);const n=Ut(t);e.component(n+Yn.name,Yn)}});function Dc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const Do=["red","orangered","orange","gold","lime","green","cyan","blue","arcoblue","purple","pinkpurple","magenta","gray"],Bc=i.defineComponent({name:"Tag",components:{IconHover:zi,IconClose:Fi,IconLoading:On},props:{color:{type:String},size:{type:String},bordered:{type:Boolean,default:!1},visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},checkable:{type:Boolean,default:!1},checked:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,default:!0}},emits:{"update:visible":e=>!0,"update:checked":e=>!0,close:e=>!0,check:(e,t)=>!0},setup(e,{emit:t}){const{size:n}=i.toRefs(e),r=Ee("tag"),o=i.computed(()=>e.color&&Do.includes(e.color)),s=i.computed(()=>e.color&&!Do.includes(e.color)),a=i.ref(e.defaultVisible),l=i.ref(e.defaultChecked),c=i.computed(()=>{var O;return(O=e.visible)!=null?O:a.value}),d=i.computed(()=>{var O;return e.checkable?(O=e.checked)!=null?O:l.value:!0}),{mergedSize:u}=ji(n),m=i.computed(()=>u.value==="mini"?"small":u.value),S=O=>{a.value=!1,t("update:visible",!1),t("close",O)},b=O=>{if(e.checkable){const x=!d.value;l.value=x,t("update:checked",x),t("check",x,O)}},h=i.computed(()=>[r,`${r}-size-${m.value}`,{[`${r}-loading`]:e.loading,[`${r}-hide`]:!c.value,[`${r}-${e.color}`]:o.value,[`${r}-bordered`]:e.bordered,[`${r}-checkable`]:e.checkable,[`${r}-checked`]:d.value,[`${r}-custom-color`]:s.value}]),y=i.computed(()=>{if(s.value)return{backgroundColor:e.color}});return{prefixCls:r,cls:h,style:y,computedVisible:c,computedChecked:d,handleClick:b,handleClose:S}}});function Mc(e,t,n,r,o,s){const a=i.resolveComponent("icon-close"),l=i.resolveComponent("icon-hover"),c=i.resolveComponent("icon-loading");return e.computedVisible?(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(e.cls),style:i.normalizeStyle(e.style),onClick:t[0]||(t[0]=(...d)=>e.handleClick&&e.handleClick(...d))},[e.$slots.icon?(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(`${e.prefixCls}-icon`)},[i.renderSlot(e.$slots,"icon")],2)):i.createCommentVNode("v-if",!0),i.renderSlot(e.$slots,"default"),e.closable?(i.openBlock(),i.createBlock(l,{key:1,role:"button","aria-label":"Close",prefix:e.prefixCls,class:i.normalizeClass(`${e.prefixCls}-close-btn`),onClick:i.withModifiers(e.handleClose,["stop"])},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"close-icon",{},()=>[i.createVNode(a)])]),_:3},8,["prefix","class","onClick"])):i.createCommentVNode("v-if",!0),e.loading?(i.openBlock(),i.createElementBlock("span",{key:2,class:i.normalizeClass(`${e.prefixCls}-loading-icon`)},[i.createVNode(c)],2)):i.createCommentVNode("v-if",!0)],6)):i.createCommentVNode("v-if",!0)}var Xn=Be(Bc,[["render",Mc]]);const Jn=Object.assign(Xn,{install:(e,t)=>{Ht(e,t);const n=Ut(t);e.component(n+Xn.name,Xn)}}),$c=i.defineComponent({name:"Message",components:{AIconHover:zi,IconInfoCircleFill:gl,IconCheckCircleFill:_l,IconExclamationCircleFill:xl,IconCloseCircleFill:$l,IconClose:Fi,IconLoading:On},props:{type:{type:String,default:"info"},closable:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!0},duration:{type:Number,default:3e3},resetOnUpdate:{type:Boolean,default:!1},resetOnHover:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const n=Ee("message");let r=0;const o=()=>{t("close")},s=()=>{e.duration>0&&(r=window.setTimeout(o,e.duration))},a=()=>{r&&(window.clearTimeout(r),r=0)};return i.onMounted(()=>{s()}),i.onUpdated(()=>{e.resetOnUpdate&&(a(),s())}),i.onUnmounted(()=>{a()}),{handleMouseEnter:()=>{e.resetOnHover&&a()},handleMouseLeave:()=>{e.resetOnHover&&s()},prefixCls:n,handleClose:o}}});function Lc(e,t,n,r,o,s){const a=i.resolveComponent("icon-info-circle-fill"),l=i.resolveComponent("icon-check-circle-fill"),c=i.resolveComponent("icon-exclamation-circle-fill"),d=i.resolveComponent("icon-close-circle-fill"),u=i.resolveComponent("icon-loading"),m=i.resolveComponent("icon-close"),S=i.resolveComponent("a-icon-hover");return i.openBlock(),i.createElementBlock("li",{role:"alert",class:i.normalizeClass([e.prefixCls,`${e.prefixCls}-${e.type}`,{[`${e.prefixCls}-closable`]:e.closable}]),onMouseenter:t[1]||(t[1]=(...b)=>e.handleMouseEnter&&e.handleMouseEnter(...b)),onMouseleave:t[2]||(t[2]=(...b)=>e.handleMouseLeave&&e.handleMouseLeave(...b))},[e.showIcon&&!(e.type==="normal"&&!e.$slots.icon)?(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(`${e.prefixCls}-icon`)},[i.renderSlot(e.$slots,"icon",{},()=>[e.type==="info"?(i.openBlock(),i.createBlock(a,{key:0})):e.type==="success"?(i.openBlock(),i.createBlock(l,{key:1})):e.type==="warning"?(i.openBlock(),i.createBlock(c,{key:2})):e.type==="error"?(i.openBlock(),i.createBlock(d,{key:3})):e.type==="loading"?(i.openBlock(),i.createBlock(u,{key:4})):i.createCommentVNode("v-if",!0)])],2)):i.createCommentVNode("v-if",!0),i.createElementVNode("span",{class:i.normalizeClass(`${e.prefixCls}-content`)},[i.renderSlot(e.$slots,"default")],2),e.closable?(i.openBlock(),i.createElementBlock("span",{key:1,class:i.normalizeClass(`${e.prefixCls}-close-btn`),onClick:t[0]||(t[0]=(...b)=>e.handleClose&&e.handleClose(...b))},[i.createVNode(S,null,{default:i.withCtx(()=>[i.createVNode(m)]),_:1})],2)):i.createCommentVNode("v-if",!0)],34)}var Ic=Be($c,[["render",Lc]]);function Rc(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!i.isVNode(e)}var Vc=i.defineComponent({name:"MessageList",props:{messages:{type:Array,default:()=>[]},position:{type:String,default:"top"}},emits:["close","afterClose"],setup(e,t){const n=Ee("message-list"),{zIndex:r}=qi("message",{runOnMounted:!0});return()=>{let o;return i.createVNode(i.TransitionGroup,{class:[n,`${n}-${e.position}`],name:"fade-message",tag:"ul",style:{zIndex:r.value},onAfterLeave:()=>t.emit("afterClose")},Rc(o=e.messages.map(s=>{const a={default:go(s.content),icon:go(s.icon)};return i.createVNode(Ic,{key:s.id,type:s.type,duration:s.duration,closable:s.closable,resetOnUpdate:s.resetOnUpdate,resetOnHover:s.resetOnHover,onClose:()=>t.emit("close",s.id)},a)}))?o:{default:()=>[o]})}}}),zc=Object.defineProperty,Fc=Object.defineProperties,jc=Object.getOwnPropertyDescriptors,Bo=Object.getOwnPropertySymbols,Uc=Object.prototype.hasOwnProperty,Hc=Object.prototype.propertyIsEnumerable,Mo=(e,t,n)=>t in e?zc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gn=(e,t)=>{for(var n in t||(t={}))Uc.call(t,n)&&Mo(e,n,t[n]);if(Bo)for(var n of Bo(t))Hc.call(t,n)&&Mo(e,n,t[n]);return e},Wi=(e,t)=>Fc(e,jc(t));class qc{constructor(t,n){this.messageCount=0,this.add=s=>{var a;this.messageCount++;const l=(a=s.id)!=null?a:`__arco_message_${this.messageCount}`;if(this.messageIds.has(l))return this.update(l,s);const c=i.reactive(gn({id:l},s));return this.messages.value.push(c),this.messageIds.add(l),{close:()=>this.remove(l)}},this.update=(s,a)=>{for(let l=0;l<this.messages.value.length;l++)if(this.messages.value[l].id===s){const c=!Ta(a.duration);Object.assign(this.messages.value[l],Wi(gn({},a),{id:s,resetOnUpdate:c}));break}return{close:()=>this.remove(s)}},this.remove=s=>{for(let a=0;a<this.messages.value.length;a++){const l=this.messages.value[a];if(l.id===s){Cn(l.onClose)&&l.onClose(s),this.messages.value.splice(a,1),this.messageIds.delete(s);break}}},this.clear=()=>{this.messages.value.splice(0)},this.destroy=()=>{this.messages.value.length===0&&this.container&&(i.render(null,this.container),document.body.removeChild(this.container),this.container=null,bt[this.position]=void 0)};const{position:r="top"}=t;this.container=rl("message"),this.messageIds=new Set,this.messages=i.ref([]),this.position=r;const o=i.createVNode(Vc,{messages:this.messages.value,position:r,onClose:this.remove,onAfterClose:this.destroy});(n??Et._context)&&(o.appContext=n??Et._context),i.render(o,this.container),document.body.appendChild(this.container)}}const bt={},Gi=[...Ll,"loading","normal"],dn=Gi.reduce((e,t)=>(e[t]=(n,r)=>{Br(n)&&(n={content:n});const o=gn({type:t},n),{position:s="top"}=o;return bt[s]||(bt[s]=new qc(o,r)),bt[s].add(o)},e),{});dn.clear=e=>{var t;e?(t=bt[e])==null||t.clear():Object.values(bt).forEach(n=>n==null?void 0:n.clear())};const Et=Wi(gn({},dn),{install:e=>{const t={clear:dn.clear};for(const n of Gi)t[n]=(r,o=e._context)=>dn[n](r,o);e.config.globalProperties.$message=t},_context:null});function Wc(e,t){return t={exports:{}},e(t,t.exports),t.exports}var Gc=Wc(function(e){var t=e.exports=function(n,r){if(r||(r=16),n===void 0&&(n=128),n<=0)return"0";for(var o=Math.log(Math.pow(2,n))/Math.log(r),s=2;o===1/0;s*=2)o=Math.log(Math.pow(2,n/s))/Math.log(r)*s;for(var a=o-Math.floor(o),l="",s=0;s<Math.floor(o);s++){var c=Math.floor(Math.random()*r).toString(r);l=c+l}if(a){var d=Math.pow(r,a),c=Math.floor(Math.random()*d).toString(r);l=c+l}var u=parseInt(l,r);return u!==1/0&&u>=Math.pow(2,n)?t(n,r):l};t.rack=function(n,r,o){var s=function(l){var c=0;do{if(c++>10)if(o)n+=o;else throw new Error("too many ID collisions, use more bits");var d=t(n,r)}while(Object.hasOwnProperty.call(a,d));return a[d]=l,d},a=s.hats={};return s.get=function(l){return s.hats[l]},s.set=function(l,c){return s.hats[l]=c,s},s.bits=n||128,s.base=r||16,s}});function We(e){if(!(this instanceof We))return new We(e);e=e||[128,36,1],this._seed=e.length?Gc.rack(e[0],e[1],e[2]):e}We.prototype.next=function(e){return this._seed(e||!0)};We.prototype.nextPrefixed=function(e,t){var n;do n=e+this.next(!0);while(this.assigned(n));return this.claim(n,t),n};We.prototype.claim=function(e,t){this._seed.set(e,t||!0)};We.prototype.assigned=function(e){return this._seed.get(e)||!1};We.prototype.unclaim=function(e){delete this._seed.hats[e]};We.prototype.clear=function(){var e=this._seed.hats,t;for(t in e)this.unclaim(t)};const Kc=Object.prototype.toString;function $o(e){return e===void 0}function Yc(e){return Kc.call(e)==="[object Object]"}function Ki(e,t,n){const r=e.get("scopeIds",!1)||new We([32,36]),o={},s={},a=new Xc,l=new Set,c=[],d=new Set,u=new Set,m=new Map;function S(E){return!E.parent||E.parent===E?E:S(E.parent)}de("tick",function(){for(const E of l)Q("elementChanged",{element:E});l.clear()});function b(E,M){if(c.push([M,E]),c.length!==1)return;let L;for(;L=c[0];){const[K,H]=L;H.destroyed||K(),c.shift()}Q("tick")}function h(E){return s[E.type]||a}function y(E){const{element:M,parentScope:L,initiator:K=null,scope:H=pe({element:M,parent:L,initiator:K})}=E;return b(H,function(){H.running||H.start(),F("signal",{...E,scope:H}),h(M).signal({...E,scope:H}),H.parent&&J(H.parent)}),H}function O(E){const{element:M,scope:L,initiator:K=L}=E,H=pe({element:M,parent:L,initiator:K});return b(H,function(){if(H.running||H.start(),ne.is(M,"bpmn:SequenceFlow")){const j=S(H),ee=M.id;let re=m.get(j.id);$o(re)&&m.set(j.id,new Map),re=m.get(j.id);let me=re.get(ee);if($o(me)&&(me=1),me>2)return;me++,re.set(ee,me)}F("enter",E),h(M).enter({...E,initiator:K,scope:H}),H.parent&&J(H.parent)}),H}function x(E){const{element:M,scope:L,initiator:K=L}=E;b(L,function(){F("exit",E),h(M).exit({...E,initiator:K}),L.running&&L.complete(),T(L,K),L.parent&&J(L.parent)})}function I(E){const{event:M,initiator:L,scope:K}=E,H=f(M),j=K.subscriptions,ee=ht.filterSet(j,ie=>uo.eventsMatch(H,ie.event)),re=ee.filter(ie=>!ie.event.interrupting),me=ee.filter(ie=>ie.event.interrupting);if(!me.length)return re.map(ie=>ie.triggerFn(L)).flat();const je=me.find(ie=>!ie.event.boundary)||me[0],se=ht.filterSet(j,ie=>ie.event.persistent||Jc(ie.event,je.event));return j.forEach(ie=>{se.includes(ie)||ie.remove()}),[je.triggerFn(L)].flat().filter(ie=>ie)}function B(E,M,L){M=f(M);const K=M.element,H={scope:E,event:M,element:K,triggerFn:L,remove(){p(H)}};return u.add(H),E.subscriptions.add(H),K&&q(K),H}function p(E){const{scope:M,event:L}=E;u.delete(E),M.subscriptions.delete(E),L.element&&q(L.element)}function V(E){return ne.is(E,"bpmn:StartEvent")||ne.is(E,"bpmn:IntermediateCatchEvent")||ne.is(E,"bpmn:ReceiveTask")||Qc(E)?ne.getBusinessObject(E).name||E.id:null}function g(E){return{element:E,interrupting:!1,boundary:!1,iref:E.id,type:"none"}}function f(E){if(!E.businessObject)return E;const M=ne.isInterrupting(E),L=ne.isBoundaryEvent(E),K=V(E),H={element:E,interrupting:M,boundary:L,...K?{iref:K}:{}},j=Yi(E)[0];if(!j)return{...H,type:Zc(E)?"message":"none"};if(ne.is(j,"bpmn:LinkEventDefinition"))return{...H,type:"link",name:j.name};if(ne.is(j,"bpmn:SignalEventDefinition"))return{...H,type:"signal",ref:j.signalRef};if(ne.is(j,"bpmn:TimerEventDefinition"))return{...H,type:"timer"};if(ne.is(j,"bpmn:ConditionalEventDefinition"))return{...H,type:"condition"};if(ne.is(j,"bpmn:EscalationEventDefinition"))return{...H,type:"escalation",ref:j.escalationRef};if(ne.is(j,"bpmn:CancelEventDefinition"))return{...H,type:"cancel"};if(ne.is(j,"bpmn:ErrorEventDefinition"))return{...H,type:"error",ref:j.errorRef};if(ne.is(j,"bpmn:MessageEventDefinition"))return{...H,type:"message",ref:j.messageRef};if(ne.is(j,"bpmn:CompensateEventDefinition")){let ee=j.activityRef&&n.get(j.activityRef.id);return ee||(ne.isStartEvent(E)&&ne.isEventSubProcess(E.parent)?ee=E.parent.parent:ne.isBoundaryEvent(E)?ee=E.host:ee=E.parent),{...H,type:"compensate",ref:ee,persistent:!0}}throw new Error("unknown event definition",j)}function v(E,M=!0){const{element:L,parent:K,initiator:H}=E;M&&F("createScope",{element:L,scope:K});const j=new ha(r.next(),L,K,H);return K&&K.children.push(j),d.add(j),M&&Q("createScope",{scope:j}),q(L),K&&q(K.element),j}function C(E){if(typeof E=="function")return E;const{event:M,element:L,scope:K}=E,H=E.elements||L&&[L],j=M&&f(M);return ee=>(!j||uo.eventsMatch(j,ee.event))&&(!H||H.includes(ee.element))&&(!K||K===ee.scope)}function P(E){const M=E==="function"?E:C(E);return L=>Array.from(L.subscriptions).some(M)}function A(E){if(typeof E=="function")return E;const{element:M,waitsOnElement:L,parent:K,trait:H=co.ScopeTraits.RUNNING,subscribedTo:j}=E,ee=j?P(j):()=>!0;return re=>(!M||re.element===M)&&(!K||re.parent===K)&&(!L||re.getTokensByElement(L)>0)&&re.hasTrait(H)&&ee(re)}function $(E){return ht.filterSet(u,C(E))}function N(E){return ht.findSet(u,C(E))}function k(E){return ht.filterSet(d,A(E))}function z(E){return ht.findSet(d,A(E))}function T(E,M=null){if(!E.destroyed){E.destroy(M);for(const L of E.subscriptions){const K=L.event.traits||co.ScopeTraits.ACTIVE;E.hasTrait(K)||p(L)}if(E.destroyed){for(const L of E.children)L.destroyed||T(L,M);F("destroyScope",{element:E.element,scope:E}),d.delete(E),Q("destroyScope",{scope:E})}q(E.element),E.parent&&q(E.parent.element)}}function F(E,M){Q("trace",{...M,action:E})}function q(E){l.add(E),c.length||Q("tick")}function J(E){Q("scopeChanged",{scope:E})}function Q(E,M={}){return t.fire(`tokenSimulation.simulator.${E}`,M)}function de(E,M){t.on("tokenSimulation.simulator."+E,M)}function ae(E,M){t.off("tokenSimulation.simulator."+E,M)}function he(E,M){const L=ye(E);o[E.id||E]={...L,...M},q(E)}function fe(){const E=[];return n.forEach(M=>{if(!ne.isAny(M,["bpmn:Process","bpmn:Participant"]))return;const L=v({element:M},!1);E.push(L);const K=M.children.filter(ne.isStartEvent),H=M.children.filter(ne.isImplicitStartEvent);for(const j of K){const ee={...f(j),interrupting:!1};B(L,ee,re=>y({element:M,startEvent:j,initiator:re}))}if(!K.length)for(const j of H){const ee=g(j);B(L,ee,re=>y({element:M,initiator:re}))}}),E}function pe(E){const{element:M}=E,L=v(E),{children:K=[],attachers:H=[]}=M;for(const j of K)if(ne.isEventSubProcess(j)){const ee=j.children.filter(re=>ne.isStartEvent(re)&&!ne.isCompensationEvent(re));for(const re of ee)B(L,re,me=>y({element:j,parentScope:L,startEvent:re,initiator:me}))}for(const j of H)ne.isBoundaryEvent(j)&&!ne.isCompensationEvent(j)&&B(L,j,ee=>y({element:j,parentScope:L.parent,hostScope:L,initiator:ee}));return L}function ye(E){return o[E.id||E]||{}}function Oe(E,M){if(!M.length)return;const L={type:"all-completed",persistent:!1},K=new Set(M),H=j=>{K.delete(j.scope),K.size===0&&(ae("destroyScope",H),I({scope:E,event:L}))};return de("destroyScope",H),L}function ve(E,M=!0){he(E,{wait:M})}function Me(){for(const E of d)T(E);for(const E of fe())d.add(E);m.clear(),Q("tick"),Q("reset")}this.createScope=v,this.destroyScope=T,this.findScope=z,this.findScopes=k,this.findSubscription=N,this.findSubscriptions=$,this.waitAtElement=ve,this.waitForScopes=Oe,this.setConfig=he,this.getConfig=ye,this.signal=y,this.enter=O,this.exit=x,this.subscribe=B,this.trigger=I,this.reset=Me,this.on=de,this.off=ae,this.registerBehavior=function(E,M){s[E]=M}}Ki.$inject=["injector","eventBus","elementRegistry"];function Xc(){this.signal=function(e){console.log("ignored #exit",e.element)},this.exit=function(e){console.log("ignored #exit",e.element)},this.enter=function(e){console.log("ignored #enter",e.element)}}function Jc(e,t){return e.type===t.type&&e.boundary&&!t.boundary}function Zc(e){return ne.is(e,"bpmn:ReceiveTask")||e.incoming.some(t=>ne.is(t,"bpmn:MessageFlow"))}function Qc(e){if(!ne.isBoundaryEvent(e))return!1;const t=Yi(e);return!t[0]||ne.isAny(t[0],["bpmn:ConditionalEventDefinition","bpmn:TimerEventDefinition"])}function Yi(e){return e.businessObject.get("eventDefinitions")||[]}const e0=5e3,t0={__depends__:[va],__init__:[["eventBus","simulator",function(e,t){e.on(["tokenSimulation.toggleMode","tokenSimulation.resetSimulation"],e0,n=>{t.reset()})}]],simulator:["type",Ki]},le={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:[0,"",""]};le.td=le.th=[3,"<table><tbody><tr>","</tr></tbody></table>"];le.option=le.optgroup=[1,'<select multiple="multiple">',"</select>"];le.thead=le.tbody=le.colgroup=le.caption=le.tfoot=[1,"<table>","</table>"];le.polyline=le.ellipse=le.polygon=le.circle=le.text=le.line=le.path=le.rect=le.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"];function n0(e,t=globalThis.document){var d;if(typeof e!="string")throw new TypeError("String expected");const n=/^<!--(.*?)-->$/s.exec(e);if(n)return t.createComment(n[1]);const r=(d=/<([\w:]+)/.exec(e))==null?void 0:d[1];if(!r)return t.createTextNode(e);if(e=e.trim(),r==="body"){const u=t.createElement("html");u.innerHTML=e;const{lastChild:m}=u;return m.remove(),m}let[o,s,a]=Object.hasOwn(le,r)?le[r]:le._default,l=t.createElement("div");for(l.innerHTML=s+e+a;o--;)l=l.lastChild;if(l.firstChild===l.lastChild){const{firstChild:u}=l;return u.remove(),u}const c=t.createDocumentFragment();return c.append(...l.childNodes),c}var r0=n0;const qe=Dc(r0);function o0(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var o=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(e)}const i0=Object.prototype.toString;function be(e){return new et(e)}function et(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}et.prototype.add=function(e){return this.list.add(e),this};et.prototype.remove=function(e){return i0.call(e)=="[object RegExp]"?this.removeMatching(e):(this.list.remove(e),this)};et.prototype.removeMatching=function(e){const t=this.array();for(let n=0;n<t.length;n++)e.test(t[n])&&this.remove(t[n]);return this};et.prototype.toggle=function(e,t){return typeof t<"u"?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this};et.prototype.array=function(){return Array.from(this.list)};et.prototype.has=et.prototype.contains=function(e){return this.list.contains(e)};function s0(e,t,n){var r=n?e:e.parentNode;return r&&typeof r.closest=="function"&&r.closest(t)||null}var yn={},bn,pr,Vr;function Xi(){bn=window.addEventListener?"addEventListener":"attachEvent",pr=window.removeEventListener?"removeEventListener":"detachEvent",Vr=bn!=="addEventListener"?"on":""}var a0=yn.bind=function(e,t,n,r){return bn||Xi(),e[bn](Vr+t,n,r||!1),n},l0=yn.unbind=function(e,t,n,r){return pr||Xi(),e[pr](Vr+t,n,r||!1),n},Qe=o0({__proto__:null,bind:a0,default:yn,unbind:l0},[yn]),Ji=["focus","blur"];function c0(e,t,n,r,o){return Ji.indexOf(n)!==-1&&(o=!0),Qe.bind(e,n,function(s){var a=s.target||s.srcElement;s.delegateTarget=s0(a,t,!0),s.delegateTarget&&r.call(e,s)},o)}function u0(e,t,n,r){return Ji.indexOf(t)!==-1&&(r=!0),Qe.unbind(e,t,n,r)}var d0={bind:c0,unbind:u0};function tn(e,t){return t=t||document,t.querySelector(e)}function f0(e,t){return t=t||document,t.querySelectorAll(e)}const p0='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M12.83 352h262.34A12.82 12.82 0 0 0 288 339.17v-38.34A12.82 12.82 0 0 0 275.17 288H12.83A12.82 12.82 0 0 0 0 300.83v38.34A12.82 12.82 0 0 0 12.83 352zm0-256h262.34A12.82 12.82 0 0 0 288 83.17V44.83A12.82 12.82 0 0 0 275.17 32H12.83A12.82 12.82 0 0 0 0 44.83v38.34A12.82 12.82 0 0 0 12.83 96zM432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"/></svg>',m0='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"/></svg>',h0='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512"><path fill="currentColor" d="M20 424.229h20V279.771H20c-11.046 0-20-8.954-20-20V212c0-11.046 8.954-20 20-20h112c11.046 0 20 8.954 20 20v212.229h20c11.046 0 20 8.954 20 20V492c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20v-47.771c0-11.046 8.954-20 20-20zM96 0C56.235 0 24 32.235 24 72s32.235 72 72 72 72-32.235 72-72S135.764 0 96 0z"/></svg>',v0='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"/></svg>',g0='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"/></svg>',y0='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M440.65 12.57l4 82.77A247.16 247.16 0 0 0 255.83 8C134.73 8 33.91 94.92 12.29 209.82A12 12 0 0 0 24.09 224h49.05a12 12 0 0 0 11.67-9.26 175.91 175.91 0 0 1 317-56.94l-101.46-4.86a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12H500a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12h-47.37a12 12 0 0 0-11.98 12.57zM255.83 432a175.61 175.61 0 0 1-146-77.8l101.8 4.87a12 12 0 0 0 12.57-12v-47.4a12 12 0 0 0-12-12H12a12 12 0 0 0-12 12V500a12 12 0 0 0 12 12h47.35a12 12 0 0 0 12-12.6l-4.15-82.57A247.17 247.17 0 0 0 255.83 504c121.11 0 221.93-86.92 243.55-201.82a12 12 0 0 0-11.8-14.18h-49.05a12 12 0 0 0-11.67 9.26A175.86 175.86 0 0 1 255.83 432z"/></svg>',b0='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"/></svg>',E0='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 352 512"><path fill="currentColor" d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"/></svg>',w0='<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" class="arco-icon arco-icon-empty" stroke-width="4" stroke-linecap="butt" stroke-linejoin="miter"><path d="M24 5v6m7 1 4-4m-18 4-4-4m28.5 22H28s-1 3-4 3-4-3-4-3H6.5M40 41H8a2 2 0 0 1-2-2v-8.46a2 2 0 0 1 .272-1.007l6.15-10.54A2 2 0 0 1 14.148 18H33.85a2 2 0 0 1 1.728.992l6.149 10.541A2 2 0 0 1 42 30.541V39a2 2 0 0 1-2 2Z"></path></svg>';function Ke(e){return function(n=""){return`<span class="bts-icon ${n}">${e}</span>`}}const Lo=Ke(p0),S0=Ke(w0),Io=Ke(m0),Zi=Ke(h0),_0=Ke(v0),C0=Ke(g0),k0=Ke(y0),T0=Ke(b0),Ro=Ke(E0),O0=C0(),A0=_0(),Vo=1500;class zr{constructor(t,n,r,o,s){W(this,"_eventBus");W(this,"_tokenSimulationPalette");W(this,"_notifications");W(this,"_translate");W(this,"canvasParent");W(this,"_paletteEntry");W(this,"isActive");W(this,"isPaused");W(this,"playMarkup");W(this,"pauseMarkup");this._eventBus=t,this._tokenSimulationPalette=n,this._notifications=r,this._translate=s,this.canvasParent=o.getContainer().parentNode,this.isActive=!1,this.isPaused=!0,this.playMarkup=()=>`${O0}<span>${s("Play Simulation")}</span>`,this.pauseMarkup=()=>`${A0}<span>${s("Pause Simulation")}</span>`,this._init(),t.on(ce.SCOPE_CREATE_EVENT,Vo,l=>{this.activate(),this.unpause()}),t.on([ce.RESET_SIMULATION_EVENT,ce.TOGGLE_MODE_EVENT],()=>{this.deactivate(),this.pause()}),t.on(ce.TRACE_EVENT,Vo,l=>{this.unpause()});const a=this;t.on("i18n.changed",function(){a._updateEntry()})}_init(){const t=this._translate("Play/Pause Simulation");this._paletteEntry=qe(`<div class="bts-entry disabled" title="${t}">${this.playMarkup()}</div>`),Qe.bind(this._paletteEntry,"click",this.toggle.bind(this)),this._tokenSimulationPalette.addEntry(this._paletteEntry,1)}_updateEntry(){this._paletteEntry&&(this._paletteEntry.innerHTML=this.isPaused?this.playMarkup():this.pauseMarkup())}pause(){this.isActive&&(be(this._paletteEntry).remove("active"),be(this.canvasParent).add("paused"),this._paletteEntry.innerHTML=this.playMarkup(),this._eventBus.fire(ce.PAUSE_SIMULATION_EVENT),this._notifications.showNotification({text:"Pause Simulation"}),this.isPaused=!0)}unpause(){!this.isActive||!this.isPaused||(be(this._paletteEntry).add("active"),be(this.canvasParent).remove("paused"),this._paletteEntry.innerHTML=this.pauseMarkup(),this._eventBus.fire(ce.PLAY_SIMULATION_EVENT),this._notifications.showNotification({text:"Play Simulation"}),this.isPaused=!1)}toggle(){this.isPaused?this.unpause():this.pause()}activate(){this.isActive=!0,be(this._paletteEntry).remove("disabled")}deactivate(){this.isActive=!1,be(this._paletteEntry).remove("active"),be(this._paletteEntry).add("disabled")}}W(zr,"$inject");zr.$inject=["eventBus","tokenSimulationPalette","notifications","canvas","translate"];const x0=2e3,N0=Zi();class Fr{constructor(t,n,r,o){W(this,"_eventBus");W(this,"_canvas");W(this,"_scopeFilter");W(this,"_translate");W(this,"container");this._eventBus=t,this._canvas=n,this._scopeFilter=r,this._translate=o,this._init(),t.on([ce.TOGGLE_MODE_EVENT,ce.RESET_SIMULATION_EVENT],s=>{this.clear()})}_init(){this.container=qe('<div class="bts-notifications"></div>'),this._canvas.getContainer().appendChild(this.container)}clear(){for(;this.container.children.length;)this.container.children[0].remove()}showNotification(t){const n=this._translate,{text:r,type:o="info",icon:s=N0,scope:a,ttl:l=x0}=t;if(a&&!this._scopeFilter.isShown(a))return;const c=s.startsWith("<")?s:`<i class="${s}"></i>`,d=a&&a.colors,u=d?`style="color: ${d.auxiliary}; background: ${d.primary}"`:"",m=n(r),S=qe(`
    <div class="bts-notification ${o}">
      <span class="bts-icon">${c}</span>
      <span class="bts-text" title="${m}">${m}</span>
      ${a?`<span class="bts-scope" ${u}>${a.id}</span>`:""}
    </div>
  `);for(this.container.appendChild(S);this.container.children.length>4;)this.container.children[0].remove();setTimeout(function(){S.remove()},l)}}W(Fr,"$inject");Fr.$inject=["eventBus","canvas","scopeFilter","translate"];const An={__depends__:[Oi],notifications:["type",Fr]},P0={__depends__:[An],__init__:["pauseSimulation"],pauseSimulation:["type",zr]};class jr{constructor(t,n,r,o){W(this,"_eventBus");W(this,"_tokenSimulationPalette");W(this,"_notifications");W(this,"_translate");W(this,"_paletteEntry");W(this,"_active");this._eventBus=t,this._tokenSimulationPalette=n,this._notifications=r,this._translate=o,this._init(),t.on(ce.SCOPE_CREATE_EVENT,()=>{be(this._paletteEntry).remove("disabled")}),t.on(ce.TOGGLE_MODE_EVENT,a=>{this._active=a.active,this._active||this.resetSimulation()});const s=this;t.on("i18n.changed",function(){s._updateEntry()})}_updateEntry(){const t=this._translate("Reset Simulation");if(this._paletteEntry){const n=this._paletteEntry.querySelector(".bts-entry .bts-entry-text");n&&(n.innerHTML=t)}}_init(){const t=this._translate("Reset Simulation");this._paletteEntry=qe(`
    <div class="bts-entry disabled" title="${t}">
      ${k0()}
      <span class="bts-entry-text">${t}</span>
    </div>
  `),Qe.bind(this._paletteEntry,"click",()=>{this.resetSimulation(),this._notifications.showNotification({text:"Reset Simulation",type:"info"})}),this._tokenSimulationPalette.addEntry(this._paletteEntry,2)}resetSimulation(){be(this._paletteEntry).add("disabled"),this._eventBus.fire(ce.RESET_SIMULATION_EVENT)}}W(jr,"$inject");jr.$inject=["eventBus","tokenSimulationPalette","notifications","translate"];const D0={__depends__:[An],__init__:["resetSimulation"],resetSimulation:["type",jr]};var ur;let Qi=(ur=class{constructor(t,n,r){W(this,"_elementRegistry");W(this,"_elementColors");this._elementRegistry=n,this._elementColors=r}_setNeutralColors(){}},W(ur,"$inject"),ur);Qi.$inject=["eventBus","elementRegistry","elementColors"];const B0={__depends__:[ga],__init__:["neutralElementColors"],neutralElementColors:["type",Qi]},M0=-15,$0=15;class Ur{constructor(t,n,r){W(this,"_overlays");W(this,"_translate");this._overlays=t,this._translate=r,n.on([ce.RESET_SIMULATION_EVENT,ce.SCOPE_CREATE_EVENT,ce.TOGGLE_MODE_EVENT],()=>{this.clear()})}addElementNotification(t,n){const r={top:M0,right:$0},{type:o,icon:s,text:a,scope:l={}}=n,c=l.colors,d=c?`style="color: ${c.auxiliary}; background: ${c.primary}"`:"",u=this._translate(a),m=qe(`
    <div class="bts-element-notification ${o||""}" ${d}>
      ${s||""}
      <span class="bts-text">${u}</span>
    </div>
  `);this._overlays.add(t,"bts-element-notification",{position:r,html:m,show:{minZoom:.5}})}removeElementNotification(t){this._overlays.remove({element:t})}clear(){this._overlays.remove({type:"bts-element-notification"})}}W(Ur,"$inject");Ur.$inject=["overlays","eventBus","translate"];const L0={elementNotifications:["type",Ur]},I0={__depends__:[L0,An],__init__:["elementSupport"],elementSupport:["type",ya]},R0={copy:"fbpmn-icon-copy-service-task",sc:"fbpmn-icon-sc-service-task",dmn:"fbpmn-icon-dmn-service-task",mq:"fbpmn-icon-mq-service-task",rest:"fbpmn-icon-rest-service-task",http:"fbpmn-icon-http-service-task",mail:"fbpmn-icon-mail-service-task",camel:"fbpmn-icon-camel-service-task",shell:"ibpmn-icon-shell-service-task"},V0={copy:"Copy Service Task",sc:"Sc Service Task",dmn:"Dmn Service Task",mq:"Mq Service Task",rest:"Rest Service Task",http:"Http Service Task",mail:"Mail Service Task",camel:"Camel Service Task",shell:"Shell Service Task"};function xn(e,t){if(!e)return[];const n=e.get("extensionElements");if(!n)return[];const r=n.get("values");return!r||!r.length?[]:t?r.filter(o=>G.is(o,t)):r}function es(e,t){return xn(e,`flowable:${t}`)}const z0=Zi(),F0=S0("a-lager-icon");function Zn(e){const t=e&&e.businessObject.name;return t&&ba.escapeHTML(t)}function Qn(e,t){const n=mr(e);return n==="none"?"bpmn-icon-intermediate-event-none":`bpmn-icon-intermediate-event-${t}-${n}`}function mr(e){const t=G.getBusinessObject(e);if(es(t,"VariableListenerEventDefinition").length)return"multiple";if(t.get("eventDefinitions").length===0)return"none";const r=t.eventDefinitions[0];return G.is(r,"bpmn:MessageEventDefinition")?"message":G.is(r,"bpmn:TimerEventDefinition")?"timer":G.is(r,"bpmn:SignalEventDefinition")?"signal":G.is(r,"bpmn:ErrorEventDefinition")?"error":G.is(r,"bpmn:EscalationEventDefinition")?"escalation":G.is(r,"bpmn:CompensateEventDefinition")?"compensation":G.is(r,"bpmn:ConditionalEventDefinition")?"condition":G.is(r,"bpmn:LinkEventDefinition")?"link":G.is(r,"bpmn:CancelEventDefinition")?"cancel":G.is(r,"bpmn:TerminateEventDefinition")?"terminate":"none"}class Hr{constructor(t,n,r,o,s,a,l){W(this,"_notifications");W(this,"_tokenSimulationPalette");W(this,"_canvas");W(this,"_scopeFilter");W(this,"_translate");W(this,"_container");W(this,"_placeholder");W(this,"_content");W(this,"_close");W(this,"_icon");W(this,"_emptyMarkup");W(this,"_emptyMarkupInner");W(this,"_showMarkup");W(this,"_hideMarkup");W(this,"_paletteEntry");this._notifications=n,this._tokenSimulationPalette=r,this._canvas=o,this._scopeFilter=s,this._translate=l,this._emptyMarkupInner=()=>`${F0}<span>${l("No Entries")}</span>`,this._emptyMarkup=()=>`<p class="bts-entry placeholder">${this._emptyMarkupInner()}</span></p>`,this._showMarkup=()=>`${Lo()}<span>${l("Show Simulation Log")}</span>`,this._hideMarkup=()=>`${Lo()}<span>${l("Hide Simulation Log")}</span>`,this._init(),t.on(ce.SCOPE_FILTER_CHANGED_EVENT,d=>{f0(".bts-entry[data-scope-id]",this._container).forEach(m=>{const S=m.dataset.scopeId;be(m).toggle("inactive",!this._scopeFilter.isShown(S))})}),t.on(ce.SCOPE_DESTROYED_EVENT,d=>{const{scope:u}=d,{element:m}=u,S=u.completed;if(!["bpmn:Process","bpmn:Participant","bpmn:SubProcess"].includes(m.type))return;const y=`${G.is(m,"bpmn:SubProcess")?Zn(m)||"SubProcess":"Process"} ${S?"finished":"canceled"}`;this.log({text:y,icon:S?Io():T0(),scope:u})}),t.on(ce.SCOPE_CREATE_EVENT,d=>{const{scope:u}=d,{element:m}=u;if(!["bpmn:Process","bpmn:Participant","bpmn:SubProcess"].includes(m.type))return;const h=`${G.is(m,"bpmn:SubProcess")?Zn(m)||"SubProcess":"Process"} started`;this.log({text:h,icon:Io(),scope:u})}),t.on(ce.TRACE_EVENT,d=>{const{action:u,scope:m,element:S}=d;if(u!=="exit")return;const b=m.parent,h=Zn(S);if(G.is(S,"bpmn:ServiceTask")){const y=S.businessObject.type;return this.log({text:h||y&&V0[y]||"Service task",icon:y&&R0[y]||"bpmn-icon-service",scope:b})}if(G.is(S,"bpmn:UserTask"))return this.log({text:h||"User task",icon:"bpmn-icon-user",scope:b});if(G.is(S,"bpmn:CallActivity"))return this.log({text:h||"Call Activity",icon:"bpmn-icon-call-activity",scope:b});if(G.is(S,"bpmn:ScriptTask"))return this.log({text:h||"Script task",icon:"bpmn-icon-script",scope:b});if(G.is(S,"bpmn:BusinessRuleTask"))return this.log({text:h||"Business Rule task",icon:"bpmn-icon-business-rule",scope:b});if(G.is(S,"bpmn:ManualTask"))return this.log({text:h||"Manual task",icon:"bpmn-icon-manual-task",scope:b});if(G.is(S,"bpmn:ReceiveTask"))return this.log({text:h||"Receive task",icon:"bpmn-icon-receive",scope:b});if(G.is(S,"bpmn:SendTask"))return this.log({text:h||"Send task",icon:"bpmn-icon-send",scope:b});if(G.is(S,"bpmn:Task"))return this.log({text:h||"Task",icon:"bpmn-icon-task",scope:b});if(G.is(S,"bpmn:ExclusiveGateway"))return this.log({text:h||"Exclusive gateway",icon:"bpmn-icon-gateway-xor",scope:b});if(G.is(S,"bpmn:ParallelGateway"))return this.log({text:h||"Parallel gateway",icon:"bpmn-icon-gateway-parallel",scope:b});if(G.is(S,"bpmn:InclusiveGateway"))return this.log({text:h||"Inclusive gateway",icon:"bpmn-icon-gateway-or",scope:b});if(G.is(S,"bpmn:StartEvent"))return this.log({text:h||"Start event",icon:`bpmn-icon-start-event-${mr(S)}`,scope:b});if(G.is(S,"bpmn:IntermediateCatchEvent"))return this.log({text:h||"Intermediate event",icon:Qn(S,"catch"),scope:b});if(G.is(S,"bpmn:IntermediateThrowEvent"))return this.log({text:h||"Intermediate event",icon:Qn(S,"throw"),scope:b});if(G.is(S,"bpmn:BoundaryEvent"))return this.log({text:h||"Boundary event",icon:Qn(S,"catch"),scope:b});if(G.is(S,"bpmn:EndEvent"))return this.log({text:h||"End event",icon:`bpmn-icon-end-event-${mr(S)}`,scope:b})}),t.on(ce.RESET_SIMULATION_EVENT,()=>{this.clear(),this.toggle(!0)}),t.on(ce.TOGGLE_MODE_EVENT,({active:d})=>{this.clear(),this.toggle(d)});const c=this;t.on("i18n.changed",function(){c._updateEntry()})}_updateEntry(){const t=this.isShown();this._paletteEntry&&(this._paletteEntry.innerHTML=t?this._hideMarkup():this._showMarkup()),t&&this._updateContent()}_updateContent(){const t=this._translate,n=`${t("Simulation Log")}
        <button class="bts-close" aria-label="Close">
          ${Ro()}
        </button>`,r=this._container.querySelector(".bts-log .bts-header");r&&(r.innerHTML=n,this._close=tn(".bts-close",this._container),Qe.bind(this._close,"click",()=>{this.toggle(!1)})),this._placeholder&&(this._placeholder.innerHTML=this._emptyMarkupInner())}_init(){const t=this._translate;this._container=qe(`
    <div class="bts-log djs-scrollable hidden">
      <div class="bts-header">
        ${t("Simulation Log")}
        <button class="bts-close" aria-label="Close">
          ${Ro()}
        </button>
      </div>
      <div class="bts-content">
        ${this._emptyMarkup}
      </div>
    </div>
  `),this._placeholder=tn(".bts-placeholder",this._container),this._content=tn(".bts-content",this._container),Qe.bind(this._content,"mousedown",r=>{r.stopPropagation()}),this._close=tn(".bts-close",this._container),Qe.bind(this._close,"click",()=>{this.toggle(!1)}),this._canvas.getContainer().appendChild(this._container);const n=t("Toggle Simulation Log");this._paletteEntry=qe(`
    <div class="bts-entry" title="${n}">${this._showMarkup}</div>
  `),Qe.bind(this._paletteEntry,"click",()=>{this.toggle()}),this._tokenSimulationPalette.addEntry(this._paletteEntry,3)}log(t){const n=this._translate,{text:r,type:o="info",icon:s=z0,scope:a}=t,l=this._content;this._placeholder&&be(this._placeholder).add("hidden"),this.isShown()||this._notifications.showNotification(t);const c=s.startsWith("<")?s:`<i class="${s}"></i>`,d=a&&a.colors,u=d?`style="background: ${d.primary}; color: ${d.auxiliary}"`:"",m=n(r),S=qe(`
    <p class="bts-entry ${o} ${a&&this._scopeFilter.isShown(a)?"":"inactive"}" ${a?`data-scope-id="${a.id}"`:""}>
      <span class="bts-icon">${c}</span>
      <span class="bts-text" title="${m}">${m}</span>
      ${a?`<span class="bts-scope" data-scope-id="${a.id}" ${u}>${a.id}</span>`:""}
    </p>
  `);d0.bind(S,".bts-scope[data-scope-id]","click",h=>{this._scopeFilter.toggle(a)});const b=Math.abs(l.clientHeight+l.scrollTop-l.scrollHeight)<2;l.appendChild(S),b&&(l.scrollTop=l.scrollHeight)}isShown(){const t=this._container;return!be(t).has("hidden")}toggle(t=!this.isShown()){const n=this._container;t?(be(n).remove("hidden"),this._paletteEntry.innerHTML=this._hideMarkup()):(be(n).add("hidden"),this._paletteEntry.innerHTML=this._showMarkup()),this._updateContent()}clear(){if(this._content){for(;this._content.firstChild;)this._content.removeChild(this._content.firstChild);this._placeholder=qe(this._emptyMarkup()),this._content.appendChild(this._placeholder)}}}W(Hr,"$inject");Hr.$inject=["eventBus","notifications","tokenSimulationPalette","canvas","scopeFilter","simulator","translate"];const j0={__depends__:[An,Oi],__init__:["log"],log:["type",Hr]},U0={__depends__:[sa,aa,la,ca,ua,I0,P0,D0,da,fa,B0,pa,ma,t0,j0]};class qr{constructor(t,n){W(this,"_active");W(this,"_eventBus");W(this,"_canvas");W(this,"_canvasParent");this._eventBus=t,this._canvas=n,this._active=!1,t.on("import.parse.start",()=>{this._active&&(this.toggleMode(!1),t.once("import.done",()=>{this.toggleMode(!0)}))}),t.on("diagram.init",()=>{this._canvasParent=this._canvas.getContainer().parentNode})}toggleMode(t=!this._active){t!==this._active&&(t?be(this._canvasParent).add("simulation"):be(this._canvasParent).remove("simulation"),this._eventBus.fire(ce.TOGGLE_MODE_EVENT,{active:t}),this._active=t)}}W(qr,"$inject");qr.$inject=["eventBus","canvas"];const H0={__init__:["toggleMode"],toggleMode:["type",qr]},q0={__depends__:[U0,H0]};function W0(e,t){if(e.ownerDocument!==t.ownerDocument)try{return t.ownerDocument.importNode(e,!0)}catch{}return e}function G0(e,t){return t.appendChild(W0(e,t))}function zo(e,t){return G0(t,e),e}var hr=2,ts={"alignment-baseline":1,"baseline-shift":1,clip:1,"clip-path":1,"clip-rule":1,color:1,"color-interpolation":1,"color-interpolation-filters":1,"color-profile":1,"color-rendering":1,cursor:1,direction:1,display:1,"dominant-baseline":1,"enable-background":1,fill:1,"fill-opacity":1,"fill-rule":1,filter:1,"flood-color":1,"flood-opacity":1,font:1,"font-family":1,"font-size":hr,"font-size-adjust":1,"font-stretch":1,"font-style":1,"font-variant":1,"font-weight":1,"glyph-orientation-horizontal":1,"glyph-orientation-vertical":1,"image-rendering":1,kerning:1,"letter-spacing":1,"lighting-color":1,marker:1,"marker-end":1,"marker-mid":1,"marker-start":1,mask:1,opacity:1,overflow:1,"pointer-events":1,"shape-rendering":1,"stop-color":1,"stop-opacity":1,stroke:1,"stroke-dasharray":1,"stroke-dashoffset":1,"stroke-linecap":1,"stroke-linejoin":1,"stroke-miterlimit":1,"stroke-opacity":1,"stroke-width":hr,"text-anchor":1,"text-decoration":1,"text-rendering":1,"unicode-bidi":1,visibility:1,"word-spacing":1,"writing-mode":1};function K0(e,t){return ts[t]?e.style[t]:e.getAttributeNS(null,t)}function Y0(e,t,n){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=ts[r];o?(o===hr&&typeof n=="number"&&(n=String(n)+"px"),e.style[r]=n):e.setAttributeNS(null,t,n)}function X0(e,t){var n=Object.keys(t),r,o;for(r=0,o;o=n[r];r++)Y0(e,o,t[o])}function J0(e,t,n){return typeof t=="string"?K0(e,t):(X0(e,t),e)}var Wr={svg:"http://www.w3.org/2000/svg"},Fo='<svg xmlns="'+Wr.svg+'"';function Z0(e){var t=!1;e.substring(0,4)==="<svg"?e.indexOf(Wr.svg)===-1&&(e=Fo+e.substring(4)):(e=Fo+">"+e+"</svg>",t=!0);var n=Q0(e);if(!t)return n;for(var r=document.createDocumentFragment(),o=n.firstChild;o.firstChild;)r.appendChild(o.firstChild);return r}function Q0(e){var t;return t=new DOMParser,t.async=!1,t.parseFromString(e,"text/xml")}function er(e,t){var n;return e=e.trim(),e.charAt(0)==="<"?(n=Z0(e).firstChild,n=document.importNode(n,!0)):n=document.createElementNS(Wr.svg,e),t&&J0(n,t),n}const jo=.95,eu=1,Uo=3;class tu extends wa{constructor(n,r,o,s,a,l,c){super(n,r,o,s,a,l,c);W(this,"_overrideColor");const d=this.handlers,u=n&&n.defaultFillColor,m=n&&n.defaultStrokeColor;this._overrideColor=(n==null?void 0:n.overrideColor)||!1;function S(g){return o.computeStyle(g,["no-fill"],{strokeLinecap:"round",strokeLinejoin:"round",stroke:R.black,strokeWidth:2})}function b(g){return o.computeStyle(g,{strokeLinecap:"round",strokeLinejoin:"round",stroke:R.black,strokeWidth:2,fill:"white"})}function h(g,f,v){v=S(v);const C=er("path",{...v,d:f});return zo(g,C),C}function y(g,f,v,C,P){Yc(C)&&(P=C,C=0),C=C||0,P=b(P);const A=f/2,$=v/2,N=er("circle",{cx:A,cy:$,r:Math.round((f+v)/4-C),...P});return zo(g,N),N}const O={"bpmn:MessageEventDefinition":function(g,f,v={},C){const P=s.getScaledPath("EVENT_MESSAGE",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:f.width,containerHeight:f.height,position:{mx:.235,my:.315}}),A=C?R.getStrokeColor(f,m,v.stroke):R.getFillColor(f,u,v.fill),$=C?R.getFillColor(f,u,v.fill):R.getStrokeColor(f,m,v.stroke);return h(g,P,{fill:A,stroke:$,strokeWidth:1})},"bpmn:TimerEventDefinition":function(g,f,v={}){const C=y(g,f.width,f.height,.2*f.height,{fill:R.getFillColor(f,u,v.fill),stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:2}),P=s.getScaledPath("EVENT_TIMER_WH",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:f.width,containerHeight:f.height,position:{mx:.5,my:.5}});h(g,P,{stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:2});for(let A=0;A<12;A++){const $=s.getScaledPath("EVENT_TIMER_LINE",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:f.width,containerHeight:f.height,position:{mx:.5,my:.5}}),N=f.width/2,k=f.height/2;h(g,$,{strokeWidth:1,stroke:R.getStrokeColor(f,m,v.stroke),transform:"rotate("+A*30+","+k+","+N+")"})}return C},"bpmn:EscalationEventDefinition":function(g,f,v={},C){const P=s.getScaledPath("EVENT_ESCALATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:f.width,containerHeight:f.height,position:{mx:.5,my:.2}}),A=C?R.getStrokeColor(f,m,v.stroke):R.getFillColor(f,u,v.fill);return h(g,P,{fill:A,stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:1})},"bpmn:ConditionalEventDefinition":function(g,f,v={}){const C=s.getScaledPath("EVENT_CONDITIONAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:f.width,containerHeight:f.height,position:{mx:.5,my:.222}});return h(g,C,{fill:R.getFillColor(f,u,v.fill),stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:1})},"bpmn:LinkEventDefinition":function(g,f,v={},C){const P=s.getScaledPath("EVENT_LINK",{xScaleFactor:1,yScaleFactor:1,containerWidth:f.width,containerHeight:f.height,position:{mx:.57,my:.263}}),A=C?R.getStrokeColor(f,m,v.stroke):R.getFillColor(f,u,v.fill);return h(g,P,{fill:A,stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:1})},"bpmn:ErrorEventDefinition":function(g,f,v={},C){const P=s.getScaledPath("EVENT_ERROR",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:f.width,containerHeight:f.height,position:{mx:.2,my:.722}}),A=C?R.getStrokeColor(f,m,v.stroke):R.getFillColor(f,u,v.fill);return h(g,P,{fill:A,stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:1})},"bpmn:CancelEventDefinition":function(g,f,v={},C){const P=s.getScaledPath("EVENT_CANCEL_45",{xScaleFactor:1,yScaleFactor:1,containerWidth:f.width,containerHeight:f.height,position:{mx:.638,my:-.055}}),A=C?R.getStrokeColor(f,m,v.stroke):"none",$=h(g,P,{fill:A,stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:1});return Sa.rotate($,45),$},"bpmn:CompensateEventDefinition":function(g,f,v={},C){const P=s.getScaledPath("EVENT_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:f.width,containerHeight:f.height,position:{mx:.22,my:.5}}),A=C?R.getStrokeColor(f,m,v.stroke):R.getFillColor(f,u,v.fill);return h(g,P,{fill:A,stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:1})},"bpmn:SignalEventDefinition":function(g,f,v={},C){const P=s.getScaledPath("EVENT_SIGNAL",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:f.width,containerHeight:f.height,position:{mx:.5,my:.2}}),A=C?R.getStrokeColor(f,m,v.stroke):R.getFillColor(f,u,v.fill);return h(g,P,{strokeWidth:1,fill:A,stroke:R.getStrokeColor(f,m,v.stroke)})},"bpmn:MultipleEventDefinition":function(g,f,v={},C){const P=s.getScaledPath("EVENT_MULTIPLE",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:f.width,containerHeight:f.height,position:{mx:.222,my:.36}}),{stroke:A}=v,$=C?R.getStrokeColor(f,m,A):R.getFillColor(f,u,v.fill);return h(g,P,{fill:$,stroke:A,strokeWidth:1})},"bpmn:ParallelMultipleEventDefinition":function(g,f,v={}){const C=s.getScaledPath("EVENT_PARALLEL_MULTIPLE",{xScaleFactor:1.2,yScaleFactor:1.2,containerWidth:f.width,containerHeight:f.height,position:{mx:.458,my:.194}});return h(g,C,{fill:R.getFillColor(f,u,v.fill),stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:1})},"bpmn:TerminateEventDefinition":function(g,f,v={}){return y(g,f.width,f.height,8,{fill:R.getStrokeColor(f,m,v.stroke),stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:4})}};function x(g,f,v={}){const C=R.getSemantic(g),P=R.isThrowEvent(C);return es(C,"VariableListenerEventDefinition").length?O["bpmn:MultipleEventDefinition"](f,g,v,P):C.get("eventDefinitions")&&C.get("eventDefinitions").length>1&&C.get("parallelMultiple")?O["bpmn:ParallelMultipleEventDefinition"](f,g,v):R.isTypedEvent(C,"bpmn:MessageEventDefinition")?O["bpmn:MessageEventDefinition"](f,g,v,P):R.isTypedEvent(C,"bpmn:TimerEventDefinition")?O["bpmn:TimerEventDefinition"](f,g,v):R.isTypedEvent(C,"bpmn:ConditionalEventDefinition")?O["bpmn:ConditionalEventDefinition"](f,g,v):R.isTypedEvent(C,"bpmn:SignalEventDefinition")?O["bpmn:SignalEventDefinition"](f,g,v,P):R.isTypedEvent(C,"bpmn:EscalationEventDefinition")?O["bpmn:EscalationEventDefinition"](f,g,v,P):R.isTypedEvent(C,"bpmn:LinkEventDefinition")?O["bpmn:LinkEventDefinition"](f,g,v,P):R.isTypedEvent(C,"bpmn:ErrorEventDefinition")?O["bpmn:ErrorEventDefinition"](f,g,v,P):R.isTypedEvent(C,"bpmn:CancelEventDefinition")?O["bpmn:CancelEventDefinition"](f,g,v,P):R.isTypedEvent(C,"bpmn:CompensateEventDefinition")?O["bpmn:CompensateEventDefinition"](f,g,v,P):R.isTypedEvent(C,"bpmn:TerminateEventDefinition")?O["bpmn:TerminateEventDefinition"](f,g,v):null}const I=(g,f,v={})=>{v=nn(v,["fill","stroke"]);const C=d["bpmn:Task"](g,f,v),P=f.businessObject.get("type"),A={class:"custom-service",fill:R.getStrokeColor(f,u,v.stroke),stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:0},$=er("g",{class:"custom-node-marker"});switch(g.insertBefore($,null),P){case"shell":const N=s.getStaticPath("SERVICE_SHELL");h(g,N,A);break;case"copy":const k=s.getStaticPath("SERVICE_COPY");h(g,k,A);break;case"camel":const z=s.getStaticPath("SERVICE_CAMEL");h(g,z,A);break;case"dmn":const T=s.getStaticPath("SERVICE_DMN");h(g,T,A);break;case"http":const F=s.getStaticPath("SERVICE_HTTP_1");h(g,F,A);const q=s.getStaticPath("SERVICE_HTTP_2");h(g,q,A);break;case"mail":const J=s.getStaticPath("SERVICE_MAIL_1");h(g,J,A);const Q=s.getStaticPath("SERVICE_MAIL_2");h(g,Q,A);break;case"mq":const de=s.getStaticPath("SERVICE_MQ_1");h(g,de,A);const ae=s.getStaticPath("SERVICE_MQ_2");h(g,ae,A);break;case"sc":const he=s.getStaticPath("SERVICE_SC_1");h(g,he,A);const fe=s.getStaticPath("SERVICE_SC_2");h(g,fe,A);break;case"rest":const pe=s.getStaticPath("SERVICE_REST_1");h(g,pe,A);const ye=s.getStaticPath("SERVICE_REST_2");h(g,ye,A);break;default:y(g,10,10,0,{fill:R.getFillColor(f,u,v.fill),stroke:"none",transform:"translate(6, 6)"});const Oe=s.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:12,y:18}});h(g,Oe,{fill:R.getFillColor(f,u,v.fill),stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:1}),y(g,10,10,0,{fill:R.getFillColor(f,u,v.fill),stroke:"none",transform:"translate(11, 10)"});const ve=s.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:17,y:22}});h(g,ve,{fill:R.getFillColor(f,u,v.fill),stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:1})}return C},B=(g,f,v={})=>{const{renderIcon:C=!0}=v;v=nn(v,["fill","stroke"]),R.getSemantic(f).get("isInterrupting")===!1&&(v={...v,strokeDasharray:"6"});const A=y(g,f.width,f.height,{fillOpacity:jo,...v,fill:R.getFillColor(f,u,v.fill),stroke:R.getStrokeColor(f,m,v.stroke)});return C&&x(f,g,v),A},p=(g,f,v={})=>{const{renderIcon:C=!0}=v;v=nn(v,["fill","stroke"]);const P=R.getSemantic(f),A=P.get("cancelActivity");v={strokeWidth:1.5,fill:R.getFillColor(f,u,v.fill),fillOpacity:eu,stroke:R.getStrokeColor(f,m,v.stroke)},A===!1&&(v.strokeDasharray="6");const $=y(g,f.width,f.height,v);return y(g,f.width,f.height,Uo,{...v,fill:"none"}),C&&x(f,g,v),$},V=(g,f,v={})=>{const{renderIcon:C=!0}=v;v=nn(v,["fill","stroke"]);const P=y(g,f.width,f.height,{fillOpacity:jo,...v,fill:R.getFillColor(f,u,v.fill),stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:1.5});return y(g,f.width,f.height,Uo,{fill:"none",stroke:R.getStrokeColor(f,m,v.stroke),strokeWidth:1.5}),C&&x(f,g,v),P};this.handlers["bpmn:ServiceTask"]=I,this.handlers["bpmn:StartEvent"]=B,this.handlers["bpmn:BoundaryEvent"]=p,this.handlers["bpmn:IntermediateEvent"]=V}drawShape(n,r,o={}){let s,a="var(--color-bg-5)";if(!this._overrideColor){const l=R.getDi(r);s=l.get("color:border-color")||l.get("bioc:stroke"),a=l.get("color:background-color")||l.get("bioc:fill")||"var(--color-bg-5)"}return G.is(r,"bpmn:Activity")?(o={stroke:s||"var(--color-activity)",fill:a,...o},super.drawShape(n,r,o)):G.is(r,"bpmn:StartEvent")?(o={stroke:s||"var(--color-start-event)",fill:a,...o},super.drawShape(n,r,o)):G.is(r,"bpmn:EndEvent")?(o={stroke:s||"var(--color-end-event)",fill:a,...o},super.drawShape(n,r,o)):G.is(r,"bpmn:BoundaryEvent")?(o={stroke:s||"var(--color-boundary-event)",fill:a,...o},super.drawShape(n,r,o)):G.is(r,"bpmn:CatchEvent")||G.is(r,"bpmn:ThrowEvent")?(o={stroke:s||"var(--color-catch-event)",fill:a,...o},super.drawShape(n,r,o)):G.is(r,"bpmn:Gateway")?(o={stroke:s||"var(--color-gateway)",fill:a,...o},super.drawShape(n,r,o)):G.is(r,"bpmn:Group")?(o={stroke:s||"var(--color-element)",fill:"none",...o},super.drawShape(n,r,o)):super.drawShape(n,r,{stroke:s||"var(--color-element)",fill:a,...o})}drawConnection(n,r,o={}){let s;if(!this._overrideColor){const a=R.getDi(r);s=a.get("color:border-color")||a.get("bioc:stroke")}return Ea.isAny(r,["bpmn:SequenceFlow","bpmn:Association"])?(o={stroke:s||"#9cafcf",...o},super.drawConnection(n,r,o)):super.drawConnection(n,r,o)}}function nn(e,t=[]){return t.reduce((n,r)=>(e[r]&&(n[r]=e[r]),n),{})}class nu extends _a{constructor(){super(),this.pathMap.SERVICE_SHELL={d:"m26.02111,22.35561l-20.79771,0c-0.67287,0 -1.22339,-0.59 -1.22339,-1.31112l0,-15.73338c0,-0.72111 0.55053,-1.31112 1.22339,-1.31112l20.79771,0c0.67287,0 1.22339,0.59 1.22339,1.31112l0,15.73338c0,0.72111 -0.55053,1.31112 -1.22339,1.31112zm-18.85252,-11.09203c-0.19574,0 -0.39149,0.07867 -0.53829,0.236c-0.29361,0.31467 -0.29361,0.83911 0,1.15378l2.78934,2.98934l-2.75264,2.95001c-0.29361,0.31467 -0.29361,0.83911 0,1.15378s0.78297,0.31467 1.07659,0l3.29093,-3.5269c0.29361,-0.31467 0.29361,-0.83911 0,-1.15378l-3.32763,-3.56623c-0.14681,-0.15733 -0.34255,-0.236 -0.53829,-0.236zm10.75364,0l-6.20261,0c-0.41595,0 -0.7585,0.36711 -0.7585,0.81289s0.34255,0.81289 0.7585,0.81289l6.20261,0c0.41595,0 0.7585,-0.36711 0.7585,-0.81289s-0.34255,-0.81289 -0.7585,-0.81289z"},this.pathMap.SERVICE_COPY={d:"m22.25426,4.36071c0.32142,-0.1 0.65571,-0.1 0.97713,0c0.78428,0.25 1.20856,1.05002 1.00284,1.81254l-0.02571,0.0875l-5.82421,16.98784c-0.12857,0.37501 -0.41142,0.68751 -0.77142,0.87502c-0.73285,0.36251 -1.61998,0.0875 -2.0314,-0.58751l-0.05143,-0.0875l-3.65138,-7.10014l-7.30276,-3.55007c-0.29571,-0.15 -0.53999,-0.37501 -0.69428,-0.67501l-0.05143,-0.1l-0.03857,-0.1c-0.25714,-0.76252 0.14143,-1.57503 0.88713,-1.87504l0.09,-0.0375s17.48549,-5.65011 17.48549,-5.65011zm-0.59142,3.62507l-7.99704,7.77515l3.20139,6.22512l4.79565,-14.00028zm-1.18284,-1.15002l-14.41267,4.67509l6.40277,3.11256l8.0099,-7.77515l0,0l0,-0.0125z"},this.pathMap.SERVICE_CAMEL={d:"m21.65023,16.92556c-0.04825,-0.2448 -0.08444,-0.476 -0.13269,-0.7208c-0.10856,-0.5168 -0.21712,-1.0336 -0.32569,-1.5504c0,-0.0408 -0.03619,-0.0816 -0.06031,-0.136c-0.16887,0.4216 -0.10856,0.8296 -0.02412,1.2376c0.10856,0.5168 0.27744,1.0064 0.49456,1.4824c0.07237,0.1496 0.0965,0.3536 0.07237,0.5304c-0.06031,0.7888 -0.15681,1.564 -0.21712,2.35281c-0.01206,0.1496 0.01206,0.3128 0.04825,0.4624c0.0965,0.3944 0.06031,0.8024 0,1.1968c-0.03619,0.1768 -0.10856,0.2992 -0.27744,0.2856c-0.39806,-0.0544 -0.78406,-0.1224 -1.20625,-0.1904c0.08444,-0.2448 0.25331,-0.2856 0.39806,-0.2584c0.25331,0.0408 0.34981,-0.1224 0.39806,-0.3264c0.07237,-0.2992 0.14475,-0.5984 0.15681,-0.8976c0.03619,-0.8568 0.02412,-1.7272 -0.21712,-2.55681c-0.04825,-0.1768 -0.0965,-0.3536 -0.193,-0.5168c-0.20506,-0.3536 -0.27744,-0.748 -0.34981,-1.156c-0.03619,-0.204 -0.12062,-0.3944 -0.20506,-0.5848c-0.02412,-0.0544 -0.10856,-0.1224 -0.15681,-0.1224c-0.04825,0 -0.10856,0.1088 -0.10856,0.1768c-0.01206,0.2448 -0.03619,0.4896 -0.01206,0.7344c0.01206,0.2584 0.04825,0.5168 0.08444,0.7616c0.03619,0.2584 0.07237,0.5168 0.14475,0.7616c0.06031,0.2176 0.04825,0.3944 -0.03619,0.5984l-1.26656,2.74721c-0.07237,0.1496 -0.12062,0.3128 -0.16887,0.4624c-0.12062,0.3944 -0.37394,0.5848 -0.73581,0.612c-0.22919,0.0136 -0.45837,0 -0.68756,-0.0408c-0.08444,0 -0.15681,-0.1224 -0.22919,-0.1768c0.06031,-0.0816 0.10856,-0.1904 0.193,-0.2584c0.07237,-0.0544 0.16887,-0.0816 0.26537,-0.1088c0.36187,-0.0544 0.61519,-0.3128 0.74787,-0.6528c0.21712,-0.5304 0.39806,-1.0744 0.56694,-1.6184c0.0965,-0.2992 0.16887,-0.5984 0.24125,-0.9112c0.0965,-0.5032 -0.03619,-0.9792 -0.15681,-1.4416c-0.07237,-0.2856 -0.07237,-0.5304 0.01206,-0.8024c0.04825,-0.1768 0.04825,-0.408 -0.02412,-0.5712c-0.2895,-0.6664 -0.579,-1.3464 -0.74787,-2.0808c0,-0.0136 -0.02412,-0.0408 -0.04825,-0.0544c-0.04825,0.0408 -0.10856,0.0544 -0.16887,0.0952c-0.56694,0.3672 -1.14594,0.6664 -1.76112,0.884c-0.13269,0.0408 -0.24125,0.1224 -0.37394,0.1904c-0.07237,0.0408 -0.14475,0.0544 -0.21712,0.068c-0.90469,0.0544 -1.80937,0.0816 -2.68994,-0.2448c-0.13269,-0.0544 -0.26537,-0.068 -0.39806,-0.1088c-0.20506,-0.0544 -0.32569,0.0408 -0.32569,0.272c0,0.6936 0.04825,1.3736 0.20506,2.0536c0.12062,0.5168 0.20506,1.0336 0.20506,1.564c0,0.3808 0.10856,0.7616 0.16887,1.1424l0.31362,1.9448c0.03619,0.2448 -0.12062,0.5032 -0.37394,0.544c-0.21712,0.0408 -0.44631,0.0272 -0.66344,0.0408c-0.12062,0 -0.25331,-0.0136 -0.37394,-0.0272c-0.14475,0 -0.193,-0.068 -0.13269,-0.2312c0.07237,-0.1904 0.20506,-0.2856 0.37394,-0.3264c0.33775,-0.0816 0.41012,-0.1904 0.42219,-0.5848c0,-0.612 -0.06031,-1.224 -0.21712,-1.8088c-0.08444,-0.2856 -0.22919,-0.5576 -0.34981,-0.8296c-0.02412,0 -0.03619,0 -0.06031,0.0136c-0.01206,0.1088 -0.03619,0.2176 -0.02412,0.3128c0.03619,0.544 0.08444,1.0744 0.12062,1.6184c0.02412,0.3128 0.03619,0.6256 0.04825,0.9384c0,0.1768 -0.04825,0.2856 -0.22919,0.3128c-0.37394,0.0544 -0.73581,0.1224 -1.12181,0.1768c-0.07237,0 -0.20506,-0.0544 -0.22919,-0.136c-0.04825,-0.136 0.04825,-0.2312 0.16887,-0.272c0.02412,0 0.06031,-0.0136 0.08444,-0.0272c0.26537,-0.1224 0.50662,-0.2856 0.53075,-0.6664c0.02412,-0.544 0.08444,-1.0744 0.10856,-1.6184c0,-0.1632 -0.02412,-0.34 -0.08444,-0.476c-0.193,-0.4488 -0.24125,-0.9112 -0.13269,-1.3872c0.08444,-0.34 0.08444,-0.68 0.01206,-1.02c-0.01206,-0.0816 0,-0.1632 -0.01206,-0.2448c-0.02412,-0.1768 -0.03619,-0.3672 -0.10856,-0.5032c-0.193,-0.34 -0.32569,-0.7072 -0.386,-1.1016c-0.02412,-0.1768 -0.10856,-0.3264 -0.22919,-0.4352c-0.16887,-0.1632 -0.31362,-0.3808 -0.49456,-0.5304c-0.13269,-0.0952 -0.31362,-0.1496 -0.47044,-0.1632c-0.06031,0 -0.16887,0.1224 -0.18094,0.2176c-0.02412,0.1496 -0.08444,0.204 -0.20506,0.2176c-0.37394,0.068 -0.71169,-0.0408 -1.07356,-0.1224c-0.65137,-0.1632 -1.13387,-0.6528 -1.59225,-1.1152c-0.37394,-0.3808 -0.49456,-0.952 -0.59106,-1.5096c-0.06031,-0.3672 -0.13269,-0.7344 -0.15681,-1.1152c-0.01206,-0.3264 0.03619,-0.6664 0.04825,-1.0064c0.01206,-0.204 0.02412,-0.408 0.01206,-0.612c0,-0.0816 -0.08444,-0.1632 -0.14475,-0.2176c-0.27744,-0.1904 -0.54281,-0.4216 -0.89262,-0.4352c-0.15681,0 -0.2895,-0.2448 -0.22919,-0.5032c0.04825,-0.2584 0.10856,-0.5168 0.24125,-0.7344c0.07237,-0.136 0.26537,-0.2176 0.41012,-0.2584c0.34981,-0.068 0.68756,-0.1496 1.01325,-0.3128c0.33775,-0.1632 0.66344,-0.1904 0.965,0.136c0.15681,0.1632 0.37394,0.2176 0.59106,0.1768c0.08444,0 0.193,0.0544 0.27744,0.0952c0.02412,0 0.02412,0.1088 0,0.1496c-0.10856,0.2176 -0.10856,0.3672 0.03619,0.5304c0.37394,0.4216 0.45837,0.9384 0.45837,1.5096c0,0.2856 0,0.5848 0.03619,0.8704c0.02412,0.2992 0.13269,0.3672 0.386,0.2856c0.68756,-0.1904 1.19419,-0.6936 1.55606,-1.3464c0.37394,-0.6528 0.69962,-1.3464 1.03737,-2.0264c0.193,-0.3808 0.36187,-0.7616 0.55487,-1.1288c0.07237,-0.136 0.13269,-0.2584 0.22919,-0.3808c0.24125,-0.34 0.55487,-0.4624 0.85644,-0.34c0.31362,0.1224 0.53075,0.4896 0.51869,0.8976c0,0.1224 -0.01206,0.2584 -0.03619,0.3808c-0.04825,0.2448 0,0.4352 0.0965,0.6528c0.13269,0.34 0.26537,0.6936 0.37394,1.0472c0.0965,0.2584 0.16887,0.5304 0.39806,0.6936c0.10856,0.0816 0.25331,0.1088 0.37394,0.136c0.13269,0.0136 0.24125,-0.0816 0.24125,-0.2312c0,-0.6392 0.21712,-1.2104 0.33775,-1.8088c0.04825,-0.272 0.04825,-0.5576 0.0965,-0.8296c0.0965,-0.4624 0.37394,-0.7208 0.772,-0.8024c0.36187,-0.0816 0.65137,0.068 0.90469,0.3944c0.14475,0.1904 0.31362,0.3672 0.51869,0.4624c0.65137,0.3536 1.10975,0.9112 1.41131,1.6184c0.16887,0.3944 0.34981,0.8024 0.4825,1.2104c0.0965,0.2584 0.13269,0.544 0.16887,0.8296c0.04825,0.3536 0.20506,0.5576 0.51869,0.6664c0.47044,0.1632 0.85644,0.4624 1.13387,0.9248c0.15681,0.2584 0.21712,0.5576 0.21712,0.8704c0,0.5848 0.08444,1.1424 0.193,1.7136c0.07237,0.3944 0.07237,0.816 0.10856,1.224c0.07237,0.8432 0.14475,1.6728 0.21712,2.51601c0,0.0816 0,0.1768 0.01206,0.2448c-0.03619,0 -0.06031,0.0136 -0.0965,0.0136l0,0l0.02412,0.0544z"},this.pathMap.SERVICE_DMN={d:"m4.01314,5.18141l0,16.14588c0,0.66057 0.55194,1.19411 1.2353,1.19411l16.70281,0c0.68336,0 1.2353,-0.53354 1.2353,-1.19411l0,-16.13317c0,-0.66057 -0.55194,-1.19411 -1.2353,-1.19411l-16.71595,0c-0.68336,0 -1.2353,0.53354 -1.2353,1.19411l0,0l0.01314,-0.0127zm5.99251,16.17128l-4.38925,0c-0.22341,0 -0.40739,-0.17785 -0.40739,-0.3938l0,-3.0869l4.7835,0l0,3.468l0,0l0.01314,0.0127zm0,-4.624l-4.79664,0l0,-3.468l4.7835,0l0,3.468l0,0l0.01314,0zm5.99251,4.624l-4.7835,0l0,-3.468l4.7835,0l0,3.468zm0,-4.624l-4.7835,0l0,-3.468l4.7835,0l0,3.468zm5.57198,4.624l-4.38925,0l0,-3.468l4.7835,0l0,3.0869c0,0.21596 -0.18398,0.3938 -0.40739,0.3938l0,0l0.01314,-0.0127zm0.40739,-4.6367l-4.7835,0l0,-3.468l4.7835,0l0,3.468zm0,-4.624l-4.7835,0l0,-3.468l-1.19587,0l0,3.468l-4.7835,0l0,-3.468l-1.19587,0l0,3.468l-4.80978,0l0,-3.0869c0,-0.21596 0.18398,-0.3938 0.40739,-0.3938l15.95375,0c0.22341,0 0.40739,0.17785 0.40739,0.3938l0,3.0869z"},this.pathMap.SERVICE_HTTP_1={d:"m13.86478,4.01167c-5.441,0 -9.85295,4.31949 -9.86478,9.74804c0,5.38185 4.36463,9.75972 9.85295,9.77139c5.45283,0 9.86478,-4.30782 9.90026,-9.75972c-0.02366,-5.4052 -4.40012,-9.77139 -9.88843,-9.77139l0,0.01167zm-6.30447,8.62731c0.20108,-0.17511 0.3785,-0.37358 0.60324,-0.53702c0.28388,-0.21014 0.6269,-0.29186 0.96992,-0.29186l2.79147,0c0.48496,0 0.91078,-0.18679 1.28928,-0.4553c0.41399,-0.30353 0.82798,-0.59539 1.24197,-0.88725c0.43765,-0.30353 0.87529,-0.61874 1.31294,-0.9106c0.03548,-0.02335 0.0828,-0.05837 0.13011,-0.07005c0,0 0.01183,0.02335 0.02366,0.02335c-0.04731,0.05837 -0.10645,0.11674 -0.1656,0.16344c-1.53767,1.52933 -3.08718,3.04699 -4.62485,4.56465c-0.04731,0.0467 -0.09463,0.08172 -0.14194,0.10507c-0.63873,0.21014 -1.15917,0.57204 -1.62047,1.03901l-0.05914,0.05837s-0.02366,0.01167 -0.04731,0.03502l-0.28388,-0.42027c-0.48496,-0.71213 -0.95809,-1.42426 -1.44305,-2.1364c-0.0828,-0.11674 -0.07097,-0.18679 0.02366,-0.28018l0,0zm9.77015,-0.94562c-0.43765,0.61874 -0.87529,1.23748 -1.32477,1.85621c-0.10645,0.14009 -0.22474,0.26851 -0.31936,0.4086c-0.28388,0.42027 -0.40216,0.88725 -0.40216,1.38924l0,2.56835c0,0.47865 -0.1656,0.88725 -0.50862,1.2258c-0.11828,0.11674 -0.24839,0.23349 -0.35485,0.3619c-0.05914,0.07005 -0.10645,0.07005 -0.18925,0.01167c-0.63873,-0.42027 -1.27745,-0.84055 -1.92801,-1.2725c-0.23657,-0.16344 -0.47313,-0.31521 -0.7097,-0.46697c0.22474,-0.25683 0.44947,-0.49032 0.63873,-0.75883c0.17742,-0.26851 0.30753,-0.57204 0.4613,-0.8639c0.04731,-0.10507 0.10645,-0.21014 0.18925,-0.29186c1.56133,-1.55268 3.12266,-3.09369 4.68399,-4.64637c0.02366,-0.02335 0.04731,-0.0467 0.07097,-0.07005c0,0 0.02366,0.01167 0.03548,0.02335c-0.11828,0.16344 -0.23657,0.33855 -0.34302,0.50199l0,0l0,0.02335zm2.03446,-2.98862c-0.26022,0.44362 -0.55593,0.87557 -0.82798,1.30752c-0.4613,0.72381 -1.12369,1.2725 -1.72693,1.86789c-1.34842,1.34254 -2.69685,2.67341 -4.04527,4.01596c-0.04731,0.0467 -0.07097,0.09339 -0.09463,0.15177c-0.20108,0.66544 -0.6269,1.19078 -1.11186,1.66943c-0.13011,0.12842 -0.27205,0.25683 -0.40216,0.39693c-0.07097,0.08172 -0.13011,0.07005 -0.18925,0s-0.13011,-0.14009 -0.20108,-0.22181c-0.0828,0.08172 -0.15377,0.15177 -0.22474,0.22181c-0.11828,0.11674 -0.21291,0.15177 -0.36668,0.05837c-0.15377,-0.10507 -0.28388,-0.24516 -0.42582,-0.3619c-0.02366,-0.02335 -0.03548,-0.0467 -0.07097,-0.09339c-0.0828,0.07005 -0.15377,0.12842 -0.23657,0.19846c-0.10645,0.08172 -0.22474,0.16344 -0.34302,0.24516c-0.05914,0.03502 -0.14194,0.03502 -0.22474,0.03502c0,-0.07005 0,-0.16344 0.02366,-0.22181c0.10645,-0.16344 0.22474,-0.31521 0.33119,-0.46697c0.02366,-0.03502 0.05914,-0.07005 0.10645,-0.11674c-0.04731,-0.03502 -0.09463,-0.07005 -0.13011,-0.10507c-0.11828,-0.14009 -0.23657,-0.26851 -0.34302,-0.42027c-0.07097,-0.10507 -0.04731,-0.21014 0.04731,-0.30353c0.0828,-0.07005 0.1656,-0.12842 0.26022,-0.19846l0,-0.08172c-0.0828,-0.07005 -0.17742,-0.12842 -0.24839,-0.21014c-0.02366,-0.02335 -0.02366,-0.10507 0,-0.12842c0.48496,-0.47865 0.9226,-0.98064 1.53767,-1.29585c0.1656,-0.08172 0.34302,-0.14009 0.50862,-0.22181c0.0828,-0.0467 0.18925,-0.08172 0.24839,-0.15177c1.72693,-1.70445 3.46568,-3.42057 5.19261,-5.12502c0.27205,-0.25683 0.59141,-0.4553 0.89895,-0.67711c0.42582,-0.30353 0.85164,-0.61874 1.36025,-0.78218c0.20108,-0.07005 0.40216,-0.11674 0.61507,-0.11674s0.30753,0.12842 0.30753,0.33855c0.01183,0.28018 -0.09463,0.54869 -0.22474,0.78218l0,0l0,0.01167z"},this.pathMap.SERVICE_HTTP_2={d:"m12.86,5.75s-0.08,0.03 -0.09,0.06c-0.06,0.12 -0.11,0.24 -0.18,0.38c0.23,-0.02 0.43,0 0.58,0.16c0.16,0.16 0.19,0.36 0.18,0.57c0.03,0 0.04,0 0.05,0c0.08,-0.03 0.14,-0.06 0.22,-0.1c0.16,-0.07 0.19,-0.14 0.18,-0.31c-0.05,-0.49 -0.45,-0.81 -0.94,-0.75l0,-0.01z"},this.pathMap.SERVICE_MAIL_1={d:"m22.07399,10.40053l0,-3.48738c0,-0.74889 -0.60144,-1.36366 -1.35882,-1.36366l-4.70017,0l-1.62613,-1.30777c-0.47893,-0.32415 -1.10265,-0.32415 -1.57044,0.01118l-1.54816,1.28541l-4.38831,0c-0.74624,0 -1.35882,0.60359 -1.35882,1.36366l0,3.45385l-1.04696,0.87185l0,9.4897c0,0.74889 0.60144,1.36366 1.35882,1.36366l15.92712,0c0.74624,0 1.35882,-0.60359 1.35882,-1.36366l0,-9.47852l-1.04696,-0.83831l0.00001,-0.00001zm-0.90217,1.93371l-7.37326,3.05146l-7.37326,-3.05146l0,-5.42109c0,-0.25708 0.20048,-0.45828 0.45665,-0.45828l13.83321,0c0.25617,0 0.45665,0.2012 0.45665,0.45828c0,0 0,5.42109 0,5.42109l0.00001,0z"},this.pathMap.SERVICE_MAIL_2={d:"m13.71,8c-0.78,0 -1.43,0.24 -1.95,0.71c-0.5,0.46 -0.76,1.01 -0.76,1.65s0.22,1.12 0.65,1.51c0.47,0.42 1.11,0.63 1.91,0.63c0.7,0 1.33,-0.19 1.9,-0.56l-0.2,-0.27c-0.49,0.33 -1.05,0.49 -1.68,0.49s-1.06,-0.16 -1.41,-0.48c-0.36,-0.33 -0.54,-0.78 -0.54,-1.35s0.19,-1.04 0.56,-1.42c0.4,-0.41 0.91,-0.61 1.52,-0.61c0.56,0 1.01,0.14 1.38,0.43c0.38,0.3 0.58,0.69 0.58,1.18c0,0.35 -0.11,0.66 -0.33,0.94c-0.23,0.3 -0.51,0.46 -0.84,0.46c-0.09,0 -0.14,-0.04 -0.14,-0.13c0,-0.12 0.11,-0.56 0.31,-1.32c0.13,-0.43 0.23,-0.76 0.31,-0.97l-0.57,0l-0.03,0.06c-0.1,-0.09 -0.27,-0.14 -0.49,-0.14c-0.41,0 -0.77,0.18 -1.1,0.54c-0.39,0.43 -0.58,0.91 -0.58,1.45s0.27,0.84 0.8,0.84c0.35,0 0.6,-0.09 0.76,-0.26c0.03,-0.15 0.05,-0.2 0.05,-0.15c0,0.29 0.19,0.44 0.57,0.44c0.51,0 0.93,-0.19 1.27,-0.56c0.28,-0.33 0.43,-0.71 0.43,-1.16c0,-0.55 -0.2,-1 -0.59,-1.35c-0.44,-0.39 -1.03,-0.59 -1.76,-0.59l-0.01,0l-0.02,-0.01zm0.18,2.49c-0.23,0.56 -0.5,0.83 -0.81,0.83c-0.14,0 -0.21,-0.13 -0.21,-0.39c0,-0.39 0.09,-0.78 0.28,-1.16c0.22,-0.45 0.48,-0.67 0.76,-0.67c0.18,0 0.27,0.12 0.27,0.36s-0.09,0.59 -0.28,1.04l0,0l-0.01,-0.01z"},this.pathMap.SERVICE_MQ_1={d:"m20.50197,5.06155c-4.36488,-3.06447 -10.22662,1.28779 -12.69472,3.21948c-0.13712,0.10732 0,0.31002 0.13712,0.2504c2.57094,-1.25202 8.72976,-3.88722 11.50637,-1.71705c2.2967,1.7886 1.83965,5.69967 1.70253,7.08285c-0.01143,0.10732 0.12569,0.15501 0.1714,0.05962c0.73129,-1.37126 2.92516,-5.77121 -0.8227,-8.8953zm-1.8168,11.69743c-2.57094,1.25202 -8.72976,3.88722 -11.50637,1.71705c-2.2967,-1.7886 -1.83965,-5.69967 -1.70253,-7.08285c0.01143,-0.10732 -0.12569,-0.14309 -0.1714,-0.05962c-0.73129,1.37126 -2.92516,5.77121 0.8227,8.8953c4.36488,3.07639 10.22662,-1.28779 12.69472,-3.21948c0.13712,-0.10732 0,-0.31002 -0.14854,-0.2504l0.01143,0z"},this.pathMap.SERVICE_MQ_2={d:"m7.56012,10.65829l0,4.83454c0,0.3223 -0.05385,0.51124 -0.16154,0.57792c-0.09693,0.04446 -0.28001,0.08891 -0.56002,0.12225l0,0.45567l1.96007,0l0,-0.46678c-0.28001,-0.02223 -0.46309,-0.06668 -0.57079,-0.13337c-0.09693,-0.06668 -0.14,-0.25562 -0.14,-0.56681l0,-4.89011l1.69083,6.04596l0.37694,0l1.69083,-6.03485l0,4.86789c0,0.3223 -0.05385,0.52235 -0.16154,0.58904c-0.07539,0.04446 -0.26924,0.08891 -0.57079,0.12225l0,0.45567l2.12161,0l0,-0.46678c-0.31232,-0.03334 -0.50617,-0.06668 -0.59233,-0.13337c-0.09693,-0.06668 -0.14,-0.26673 -0.14,-0.56681l0,-4.83454c0,-0.3223 0.05385,-0.51124 0.17231,-0.58904c0.09693,-0.06668 0.29078,-0.11114 0.57079,-0.13337l0,-0.46678l-1.60467,0l-1.58313,5.6792l-1.5939,-5.6792l-1.65852,0l0,0.45567c0.33386,0.03334 0.52771,0.0778 0.6031,0.13337c0.09693,0.06668 0.14,0.26673 0.14,0.58904l0,0.02223l0.01077,0.01111zm10.98499,4.92346c-0.25847,0 -0.4954,-0.25562 -0.67848,-0.75574c0.71079,-0.73352 1.06619,-1.81157 1.06619,-3.22303c0,-1.15585 -0.2477,-2.10053 -0.75387,-2.84516c-0.44155,-0.65572 -0.9908,-0.97802 -1.64775,-0.97802s-1.2062,0.3223 -1.65852,0.97802c-0.4954,0.74463 -0.7431,1.68931 -0.7431,2.84516s0.2477,2.14498 0.7431,2.8785c0.44155,0.64461 0.9908,0.96691 1.64775,0.96691c0.32309,0 0.6031,-0.08891 0.8508,-0.25562c0.25847,0.68906 0.6031,1.03359 1.01234,1.03359c0.32309,0 0.6031,-0.23339 0.86157,-0.71129l-0.20462,-0.37787c-0.19385,0.27785 -0.3554,0.42233 -0.4954,0.42233l0,0l0,0.02223zm-1.54005,-0.74463c-0.14,0.06668 -0.28001,0.10003 -0.42001,0.10003c-0.40924,0 -0.61387,-0.25562 -0.61387,-0.74463c0,-0.20005 0.04308,-0.36676 0.14,-0.50013c0.08616,-0.12225 0.19385,-0.18894 0.30155,-0.18894c0.28001,0 0.54925,0.42233 0.80772,1.26698c0,-0.02223 -0.07539,0 -0.20462,0.06668l0,0l-0.01077,0zm0.66772,-0.60015c-0.15077,-0.4001 -0.28001,-0.70018 -0.38771,-0.88911c-0.22616,-0.36676 -0.4954,-0.54458 -0.79695,-0.54458c-0.28001,0 -0.50617,0.13337 -0.68925,0.4001c-0.16154,0.23339 -0.2477,0.51124 -0.2477,0.85577c0,0.21116 0.04308,0.4001 0.09693,0.56681c-0.52771,-0.57792 -0.79695,-1.57817 -0.79695,-3.00075c0,-0.9558 0.15077,-1.73377 0.44155,-2.3228c0.31232,-0.64461 0.72156,-0.96691 1.24927,-0.96691c0.40924,0 0.76464,0.21116 1.05542,0.64461c0.42001,0.60015 0.62464,1.48926 0.62464,2.65622s-0.18308,2.06718 -0.54925,2.61177l0,0l0,-0.01111z"},this.pathMap.SERVICE_SC_1={d:"m14.79685,19.26627l-5.42773,0c-2.11549,0 -3.71117,-1.00376 -4.73869,-2.93505c-0.24177,-0.45741 -0.36265,-0.97835 -0.49563,-1.47388c-0.09671,-0.35576 -0.14506,-0.73694 -0.13297,-1.0927c0.03627,-1.70258 0.65278,-3.12564 1.89789,-4.24375c0.70113,-0.62259 1.49897,-0.99106 2.38143,-1.19435c0.16924,-0.03812 0.3143,-0.20329 0.43519,-0.33035c0.58025,-0.648 1.12423,-1.35953 1.74074,-1.96941c0.55607,-0.54635 1.2572,-0.88941 1.97042,-1.19435c1.19676,-0.52094 2.42979,-0.55906 3.66281,-0.39388c1.31765,0.17788 2.52649,0.74965 3.49357,1.728c1.29347,1.15623 1.97042,2.46494 2.29681,3.29082c0.08462,0.15247 0.21759,0.31765 0.36265,0.39388c1.2572,0.62259 2.09131,1.62635 2.55067,3.01129c0.29012,0.88941 0.33848,1.79153 0.1088,2.66823c-0.35057,1.39764 -1.12423,2.50305 -2.38143,3.18917c-0.74949,0.40659 -1.53524,0.58447 -2.38143,0.57176c-1.7891,-0.02541 -3.55402,0 -5.34311,0l0,0l0,-0.02541zm-0.02418,-0.92753l5.52444,0c0.50772,0 0.99126,-0.08894 1.46271,-0.29223c1.80119,-0.76235 2.80453,-2.87152 2.24846,-4.82822c-0.35057,-1.23247 -1.10005,-2.13458 -2.24846,-2.63011c-0.27804,-0.11435 -0.51981,-0.30494 -0.61651,-0.60988c-0.27804,-0.97835 -0.83411,-1.76611 -1.48688,-2.50305c-0.95499,-1.10541 -2.11549,-1.82964 -3.49357,-2.10917c-1.55942,-0.31765 -3.0463,-0.05082 -4.42439,0.81317c-0.99126,0.62259 -1.74074,1.49929 -2.38143,2.47764c-0.25386,0.38118 -0.56816,0.55906 -0.99126,0.60988c-0.26595,0.03812 -0.54398,0.10165 -0.78575,0.216c-1.52315,0.72423 -2.42979,1.98211 -2.68365,3.6974c-0.15715,1.06729 0.08462,2.10917 0.65278,3.01129c0.89455,1.42306 2.15175,2.1727 3.79579,2.14729c1.80119,-0.01271 3.61446,0 5.42773,0l0.01209,0l-0.01209,0z"},this.pathMap.SERVICE_SC_2={d:"m17.77926,6.98091c0.13362,0.41985 0.2806,0.78179 0.34741,1.14374c0.25388,1.14374 0.46767,2.30195 0.36078,3.48912c-0.13362,1.40433 -0.60129,2.62046 -1.87069,3.21404c-0.44095,0.20269 -0.92198,0.36194 -1.38966,0.3909c-1.02888,0.05791 -2.05776,0.01448 -3.11337,-0.04343c0.24052,-0.10134 0.48104,-0.21716 0.72155,-0.28955c2.00431,-0.59358 3.36725,-1.99792 4.2625,-3.99584c0.1069,-0.24612 0.33405,-0.55015 0.12026,-0.92657c-0.09353,0.1303 -0.17371,0.23164 -0.24052,0.34746c-0.68147,1.28851 -1.6569,2.27299 -2.85949,2.95344c-0.60129,0.33299 -1.28276,0.5212 -1.9375,0.76732c-0.36078,0.1303 -0.74828,0.17373 -1.09569,0.30403c-0.92198,0.33299 -1.37629,-0.17373 -1.53664,-1.04239c-0.2806,-1.54911 0.36078,-2.73628 1.61681,-3.35882c0.52112,-0.2606 1.1625,-0.28955 1.75043,-0.3909c0.65474,-0.11582 1.32285,-0.11582 1.95086,-0.30403c1.09569,-0.31851 1.99095,-0.99896 2.68578,-1.96896c0.05345,-0.07239 0.12026,-0.14478 0.21379,-0.27508l0.01336,-0.01448zm-7.88363,8.80242c-0.20043,-0.01448 -0.3875,-0.1303 -0.33405,-0.34746c0.02672,-0.14478 0.21379,-0.31851 0.34741,-0.34746c0.21379,-0.05791 0.29397,0.14478 0.29397,0.37642s-0.09353,0.34746 -0.30733,0.33299l0,0l0,-0.01448z"},this.pathMap.SERVICE_REST_1={d:"m23.73344,12.53547c-0.0373,-0.43299 -0.41027,-0.75136 -0.82055,-0.71315l-0.90757,0.07641c-0.42271,0.0382 -0.88271,-0.26743 -1.04433,-0.66221l-0.63406,-1.26075c-0.22379,-0.35658 -0.19892,-0.91691 0.0746,-1.24802l0.59676,-0.71315c0.27352,-0.33111 0.23622,-0.82777 -0.09946,-1.0952l-1.16866,-1.00605c-0.32325,-0.28017 -0.79568,-0.24196 -1.0692,0.08914c0,0 0,0 0,0l-0.59676,0.71315c-0.27352,0.33111 -0.80811,0.45846 -1.19352,0.2929l-1.31785,-0.42025c-0.41027,-0.08914 -0.77082,-0.52213 -0.80811,-0.94238l-0.0746,-0.92965c-0.0373,-0.43299 -0.41027,-0.75136 -0.82055,-0.71315l-1.51677,0.12735c-0.42271,0.0382 -0.73352,0.40752 -0.69622,0.8405l0.0746,0.92965c0.0373,0.43299 -0.26108,0.90418 -0.64649,1.06973l-1.23082,0.64948c-0.34811,0.24196 -0.89514,0.20376 -1.21839,-0.07641l-0.69622,-0.59854c-0.32325,-0.28017 -0.79568,-0.24196 -1.0692,0.08914c0,0 0,0 0,0l-0.98217,1.19708c-0.27352,0.33111 -0.23622,0.81503 0.08703,1.0952l0.69622,0.61127c0.32325,0.28017 0.44757,0.82777 0.28595,1.22255l-0.41027,1.3499c-0.08703,0.42025 -0.50973,0.78956 -0.92001,0.82777l-0.90757,0.07641c-0.42271,0.0382 -0.73352,0.40752 -0.69622,0.8405l0.12433,1.55365c0.0373,0.43299 0.39784,0.75136 0.82055,0.71315l0.90757,-0.07641c0.42271,-0.0382 0.88271,0.26743 1.04433,0.66221l0.63406,1.26075c0.22379,0.35658 0.19892,0.91691 -0.0746,1.24802l-0.59676,0.71315c-0.27352,0.33111 -0.23622,0.81503 0.08703,1.0952l1.16866,1.00605c0.32325,0.28017 0.79568,0.24196 1.0692,-0.10188l0.59676,-0.71315c0.27352,-0.33111 0.80811,-0.45846 1.19352,-0.2929l1.31785,0.43299c0.41027,0.10188 0.77082,0.52213 0.80811,0.94238l0.0746,0.92965c0.0373,0.43299 0.39784,0.75136 0.82055,0.71315l1.51677,-0.12735c0.42271,-0.0382 0.73352,-0.42025 0.69622,-0.8405l-0.0746,-0.92965c-0.0373,-0.43299 0.26108,-0.90418 0.64649,-1.06973l1.23082,-0.64948c0.34811,-0.24196 0.89514,-0.20376 1.21839,0.07641l0.69622,0.61127c0.32325,0.28017 0.80811,0.24196 1.0692,-0.10188l0.98217,-1.19708c0.27352,-0.33111 0.23622,-0.82777 -0.09946,-1.0952l-0.69622,-0.61127c-0.32325,-0.28017 -0.44757,-0.82777 -0.28595,-1.22255l0.42271,-1.3499c0.09946,-0.42025 0.50973,-0.78956 0.92001,-0.82777l0.90757,-0.07641c0.42271,-0.0382 0.73352,-0.42025 0.69622,-0.8405l-0.12433,-1.56639l0,0l0.01243,0.01273zm-9.39898,6.6476c-2.72272,0.22923 -5.10977,-1.83382 -5.33355,-4.62276c-0.22379,-2.78894 1.79028,-5.23403 4.513,-5.46326s5.10977,1.83382 5.33355,4.62276c0.22379,2.78894 -1.79028,5.23403 -4.513,5.46326z"},this.pathMap.SERVICE_REST_2={d:"m10.47533,13.3295c0.15872,0 0.24691,-0.07245 0.24691,-0.21736l0,-0.6883l0.75835,0.85132s0.10582,0.05434 0.194,0.05434c0.14109,0 0.22927,-0.07245 0.24691,-0.21736c0,-0.05434 -0.01764,-0.10868 -0.07054,-0.12679l-0.56435,-0.57962c0.38799,-0.07245 0.59963,-0.2717 0.61726,-0.59773c0,-0.47094 -0.28218,-0.70641 -0.84653,-0.70641l-0.59963,0c-0.15872,0 -0.24691,0.07245 -0.24691,0.25358l0,1.75697c0,0.14491 0.08818,0.21736 0.24691,0.21736l0,0l0.01764,0zm0.24691,-1.7932l0.33509,0c0.194,0 0.29981,0.10868 0.31745,0.28981c0,0.16302 -0.10582,0.25358 -0.31745,0.2717l-0.33509,0l0,-0.56151zm2.83941,1.57584c0,-0.12679 -0.08818,-0.19924 -0.22927,-0.19924l-0.61726,0l0,-0.47094l0.54672,0c0.15872,0 0.22927,-0.07245 0.24691,-0.21736c-0.01764,-0.12679 -0.10582,-0.21736 -0.24691,-0.21736l-0.54672,0l0,-0.45283l0.59963,0c0.14109,0 0.22927,-0.07245 0.22927,-0.21736s-0.08818,-0.19924 -0.22927,-0.19924l-0.84653,0c-0.15872,0 -0.24691,0.09057 -0.24691,0.2717l0,1.73886c0,0.14491 0.08818,0.21736 0.24691,0.23547l0.86417,0c0.14109,0 0.22927,-0.07245 0.22927,-0.21736l0,-0.03623l0,-0.01811zm0.98762,-0.19924s-0.194,-0.01811 -0.33509,-0.07245c-0.07054,-0.01811 -0.15872,-0.03623 -0.22927,-0.03623c-0.14109,0 -0.21163,0.07245 -0.21163,0.21736c0,0.21736 0.28218,0.30792 0.81126,0.32604c0.54672,-0.01811 0.8289,-0.25358 0.86417,-0.70641c0,-0.32604 -0.24691,-0.56151 -0.75835,-0.70641c-0.24691,-0.07245 -0.37036,-0.14491 -0.37036,-0.23547c0,-0.12679 0.10582,-0.19924 0.28218,-0.19924c0.07054,0 0.15872,0 0.26454,0.03623c0.08818,0.01811 0.14109,0.03623 0.194,0.03623c0.14109,0 0.21163,-0.09057 0.22927,-0.23547c-0.01764,-0.18113 -0.24691,-0.28981 -0.67017,-0.30792c-0.51145,0.03623 -0.79362,0.2717 -0.8289,0.70641c0,0.28981 0.22927,0.47094 0.68781,0.59773c0.28218,0.07245 0.42327,0.16302 0.42327,0.2717c0,0.16302 -0.12345,0.25358 -0.33509,0.2717l0,0l-0.01764,0.03623zm2.04578,-1.39471l0.37036,0c0.14109,0 0.21163,-0.07245 0.22927,-0.21736c0,-0.12679 -0.08818,-0.19924 -0.22927,-0.19924l-1.25216,0c-0.12345,0 -0.194,0.07245 -0.194,0.19924c0,0.14491 0.07054,0.21736 0.194,0.21736l0.37036,0l0,1.57584c0,0.14491 0.08818,0.21736 0.24691,0.21736s0.24691,-0.07245 0.26454,-0.21736l0,-1.57584zm-4.62065,2.57207c-0.12345,-0.28981 -0.33509,-0.43472 -0.6349,-0.43472c-0.28218,0 -0.47617,0.16302 -0.59963,0.43472l-1.16398,2.8981l0,0.05434s-0.01764,0.10868 -0.01764,0.14491c0,0.23547 0.14109,0.32604 0.38799,0.32604c0.21163,0 0.35272,-0.07245 0.42327,-0.25358l0.17636,-0.50717l1.58725,0l0.15872,0.50717c0.07054,0.16302 0.21163,0.25358 0.42327,0.25358c0.24691,0 0.38799,-0.10868 0.38799,-0.32604c0,-0.05434 0,-0.12679 -0.03527,-0.19924l-1.11107,-2.8981l0.01764,0zm-1.16398,1.93811l0.54672,-1.53962l0.52908,1.53962s-1.0758,0 -1.0758,0zm4.03866,-2.30037l-1.02289,0c-0.26454,0 -0.40563,0.14491 -0.42327,0.4166l0,3.00678c0,0.25358 0.15872,0.38038 0.42327,0.38038s0.40563,-0.12679 0.42327,-0.38038l0,-0.86943l0.6349,0c0.89944,-0.05434 1.35798,-0.47094 1.42852,-1.26792c-0.05291,-0.79698 -0.54672,-1.21358 -1.44616,-1.26792l0,0l-0.01764,-0.01811zm-0.01764,1.82943l-0.58199,0l0,-1.12301l0.58199,0c0.37036,0 0.56435,0.19924 0.58199,0.56151c-0.03527,0.34415 -0.22927,0.52528 -0.58199,0.56151l0,0zm2.1516,-1.88377c-0.26454,0 -0.40563,0.14491 -0.42327,0.4166l0,3.04301c0,0.25358 0.15872,0.38038 0.42327,0.38038s0.40563,-0.12679 0.42327,-0.38038l0,-3.04301c0,-0.25358 -0.15872,-0.39849 -0.42327,-0.4166z"}}getStaticPath(t){var n;return((n=this.pathMap[t])==null?void 0:n.d)||""}}const ru={bpmnRenderer:["type",tu],pathMap:["type",nu]},ou={"Copy Service Task":"抄送任务","Camel Service Task":"骆驼任务","Sc Service Task":"微服务任务","Rest Service Task":"Rest 任务","Dmn Service Task":"决策任务","Http Service Task":"Http 任务","Mq Service Task":"消息任务","Mail Service Task":"邮件任务","Shell Service Task":"Shell 任务","Call activity":"调用活动","Sub-process":"子流程","Event sub-process":"事件子流程","Sub-process (collapsed)":"子流程(折叠)","Sub-process (expanded)":"子流程(展开)","Ad-hoc":"临时子流程","Create expanded sub-process":"创建子流程(折叠)","Horizontal expanded pool/participant":"水平泳道(展开)","Vertical expanded pool/participant":"垂直泳道(展开)","Variable start event":"参数开始事件","Variable start event (non-interrupting)":"参数开始事件(非中断)","Variable boundary event":"参数边界事件","Variable boundary event (non-interrupting)":"参数边界事件(非中断)","Variable intermediate catch event":"中间参数捕获事件","Terminate end event":"终止结束事件",Transaction:"事务子流程","Boundary event":"边界事件","Expanded pool/participant":"泳道（展开）","Create element":"创建元素","Append element":"追加元素","Create user task":"创建用户任务","Append user task":"追加用户任务","Append compensation service task":"追加补偿服务任务","Set as the default flow":"设为默认流","Add text annotation":"添加文本注释","Connect to other element":"连接到其他元素",Gateways:"网关",Tasks:"任务","Sub-processes":"子流程",Events:"事件",Data:"数据对象",Participants:"协助",Delete:"删除元素","Simulation Log":"模拟日志","No Entries":"暂无数据",Started:"已启动",Finished:"已结束","Process started":"流程启动","SubProcess started":"子流程启动","Process finished":"流程结束","SubProcess finished":"子流程结束","Process canceled":"流程取消","SubProcess canceled":"子流程取消","Intermediate event":"中间事件","Reset Simulation":"重置状态","Play/Pause Simulation":"继续/暂停","Play Simulation":"开始模拟","Pause Simulation":"暂停模拟","Toggle Simulation Log":"模拟日志","Show Simulation Log":"显示日志","Hide Simulation Log":"隐藏日志"},ns="__bpmn-designer__";function iu(e){const t=window.localStorage.getItem(`${ns}${e}`);return t?JSON.parse(t):null}function Gr(e,t){window.localStorage.setItem(`${ns}${e}`,JSON.stringify(t||""))}function su(e,t){return t=t||{},iu("local-lang")!=="en_US"&&(e=ou[e]||Ca[e]||e),e.replace(/{([^}]+)}/g,function(n,r){return t[r]||"{"+r+"}"})}const au=[{translate:["value",su]}],lu="Flowable",cu="http://flowable.org/bpmn",uu="flowable",du={tagAlias:"lowerCase"},fu=[],pu=[{name:"Definitions",isAbstract:!0,extends:["bpmn:Definitions"],properties:[{name:"diagramRelationId",isAttr:!0,type:"String"}]},{name:"InOutBinding",superClass:["Element"],isAbstract:!0,properties:[{name:"source",isAttr:!0,type:"String"},{name:"sourceExpression",isAttr:!0,type:"String"},{name:"target",isAttr:!0,type:"String"},{name:"businessKey",isAttr:!0,type:"String"},{name:"local",isAttr:!0,type:"Boolean",default:!1},{name:"variables",isAttr:!0,type:"String"}]},{name:"In",superClass:["InOutBinding"],meta:{allowedIn:["bpmn:CallActivity","bpmn:SignalEventDefinition"]}},{name:"Out",superClass:["InOutBinding"],meta:{allowedIn:["bpmn:CallActivity"]}},{name:"AsyncCapable",isAbstract:!0,extends:["bpmn:Activity","bpmn:Gateway","bpmn:Event"],properties:[{name:"async",isAttr:!0,type:"Boolean",default:!1},{name:"asyncBefore",isAttr:!0,type:"Boolean",default:!1},{name:"asyncAfter",isAttr:!0,type:"Boolean",default:!1},{name:"exclusive",isAttr:!0,type:"Boolean",default:!0}]},{name:"Scope",extends:["bpmn:Signal"],properties:[{name:"scope",isAttr:!0,type:"String"}]},{name:"ErrorEventDefinitionExtension",isAbstract:!0,extends:["bpmn:ErrorEventDefinition"],properties:[{name:"errorCodeVariable",isAttr:!0,type:"String"},{name:"errorMessageVariable",isAttr:!0,type:"String"},{name:"errorVariableLocalScope",isAttr:!0,type:"Boolean"},{name:"errorVariableTransient",isAttr:!0,type:"Boolean"}]},{name:"ErrorEventDefinition",superClass:["bpmn:ErrorEventDefinition","Element"],properties:[{name:"expression",isAttr:!0,type:"String"}],meta:{allowedIn:["bpmn:ServiceTask"]}},{name:"Error",isAbstract:!0,extends:["bpmn:Error"],properties:[{name:"flowable:errorMessage",isAttr:!0,type:"String"}]},{name:"FormSupported",isAbstract:!0,extends:["bpmn:StartEvent","bpmn:UserTask"],properties:[{name:"formKey",isAttr:!0,type:"String"}]},{name:"Initiator",isAbstract:!0,extends:["bpmn:StartEvent"],properties:[{name:"initiator",isAttr:!0,type:"String"}]},{name:"ScriptTask",isAbstract:!0,extends:["bpmn:ScriptTask"],properties:[{name:"resultVariable",isAttr:!0,type:"String"},{name:"autoStoreVariables",isAttr:!0,type:"Boolean"},{name:"resource",isAttr:!0,type:"String"}]},{name:"Process",isAbstract:!0,extends:["bpmn:Process"],properties:[{name:"candidateStarterGroups",isAttr:!0,type:"String"},{name:"candidateStarterUsers",isAttr:!0,type:"String"}]},{name:"FormalExpression",isAbstract:!0,extends:["bpmn:FormalExpression"],properties:[{name:"resource",isAttr:!0,type:"String"}]},{name:"Assignable",extends:["bpmn:UserTask"],properties:[{name:"assignee",isAttr:!0,type:"String"},{name:"candidateUsers",isAttr:!0,type:"String"},{name:"candidateGroups",isAttr:!0,type:"String"},{name:"dueDate",isAttr:!0,type:"String"},{name:"priority",isAttr:!0,type:"String"}]},{name:"CallActivity",extends:["bpmn:CallActivity"],properties:[{name:"inheritVariables",isAttr:!0,type:"Boolean"},{name:"calledElementType",isAttr:!0,type:"String"},{name:"processInstanceName",isAttr:!0,type:"String"}]},{name:"ServiceTaskLike",extends:["bpmn:ServiceTask","bpmn:BusinessRuleTask","bpmn:SendTask","bpmn:MessageEventDefinition"],properties:[{name:"expression",isAttr:!0,type:"String"},{name:"class",isAttr:!0,type:"String"},{name:"delegateExpression",isAttr:!0,type:"String"},{name:"resultVariable",isAttr:!0,type:"String"}]},{name:"DmnCapable",extends:["bpmn:BusinessRuleTask"],properties:[{name:"decisionRef",isAttr:!0,type:"String"}]},{name:"ExternalCapable",extends:["flowable:ServiceTaskLike"],properties:[{name:"type",isAttr:!0,type:"String"},{name:"topic",isAttr:!0,type:"String"}]},{name:"TaskPriorized",extends:["bpmn:Process","flowable:ExternalCapable"],properties:[{name:"taskPriority",isAttr:!0,type:"String"}]},{name:"Properties",superClass:["Element"],meta:{allowedIn:["*"]},properties:[{name:"values",type:"Property",isMany:!0}]},{name:"Property",superClass:["Element"],properties:[{name:"id",type:"String",isAttr:!0},{name:"name",type:"String",isAttr:!0},{name:"value",type:"String",isAttr:!0}]},{name:"Connector",superClass:["Element"],meta:{allowedIn:["flowable:ServiceTaskLike"]},properties:[{name:"inputOutput",type:"InputOutput"},{name:"connectorId",type:"String"}]},{name:"InputOutput",superClass:["Element"],meta:{allowedIn:["bpmn:FlowNode","flowable:Connector"]},properties:[{name:"inputOutput",type:"InputOutput"},{name:"connectorId",type:"String"},{name:"inputParameters",isMany:!0,type:"InputParameter"},{name:"outputParameters",isMany:!0,type:"OutputParameter"}]},{name:"InputOutputParameter",properties:[{name:"name",isAttr:!0,type:"String"},{name:"value",isBody:!0,type:"String"},{name:"definition",type:"InputOutputParameterDefinition"}]},{name:"InputOutputParameterDefinition",isAbstract:!0},{name:"List",superClass:["InputOutputParameterDefinition"],properties:[{name:"items",isMany:!0,type:"InputOutputParameterDefinition"}]},{name:"Map",superClass:["InputOutputParameterDefinition"],properties:[{name:"entries",isMany:!0,type:"Entry"}]},{name:"Entry",properties:[{name:"key",isAttr:!0,type:"String"},{name:"value",isBody:!0,type:"String"},{name:"definition",type:"InputOutputParameterDefinition"}]},{name:"Value",superClass:["Element"],properties:[{name:"id",isAttr:!0,type:"String"},{name:"name",isAttr:!0,type:"String"},{name:"value",isBody:!0,type:"String"}]},{name:"Script",superClass:["InputOutputParameterDefinition"],properties:[{name:"scriptFormat",isAttr:!0,type:"String"},{name:"resource",isAttr:!0,type:"String"},{name:"value",isBody:!0,type:"String"}]},{name:"Field",superClass:["Element"],meta:{allowedIn:["flowable:ServiceTaskLike","flowable:ExecutionListener","flowable:TaskListener"]},properties:[{name:"name",isAttr:!0,type:"String"},{name:"expression",type:"String"},{name:"stringValue",isAttr:!0,type:"String"},{name:"string",type:"String"}]},{name:"InputParameter",superClass:["InputOutputParameter"]},{name:"OutputParameter",superClass:["InputOutputParameter"]},{name:"Collectable",isAbstract:!0,extends:["bpmn:MultiInstanceLoopCharacteristics"],superClass:["flowable:AsyncCapable"],properties:[{name:"collection",isAttr:!0,type:"String"},{name:"elementVariable",isAttr:!0,type:"String"}]},{name:"FailedJobRetryTimeCycle",superClass:["Element"],meta:{allowedIn:["flowable:AsyncCapable","bpmn:MultiInstanceLoopCharacteristics"]},properties:[{name:"body",isBody:!0,type:"String"}]},{name:"ExecutionListener",superClass:["Element"],meta:{allowedIn:["bpmn:Task","bpmn:ServiceTask","bpmn:UserTask","bpmn:BusinessRuleTask","bpmn:ScriptTask","bpmn:ReceiveTask","bpmn:ManualTask","bpmn:ExclusiveGateway","bpmn:SequenceFlow","bpmn:ParallelGateway","bpmn:InclusiveGateway","bpmn:EventBasedGateway","bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:EndEvent","bpmn:BoundaryEvent","bpmn:CallActivity","bpmn:SubProcess","bpmn:Process"]},properties:[{name:"expression",isAttr:!0,type:"String"},{name:"class",isAttr:!0,type:"String"},{name:"delegateExpression",isAttr:!0,type:"String"},{name:"onTransaction",isAttr:!0,type:"String"},{name:"event",isAttr:!0,type:"String"},{name:"script",type:"Script"},{name:"fields",type:"Field",isMany:!0}]},{name:"TaskListener",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask"]},properties:[{name:"expression",isAttr:!0,type:"String"},{name:"class",isAttr:!0,type:"String"},{name:"delegateExpression",isAttr:!0,type:"String"},{name:"event",isAttr:!0,type:"String"},{name:"script",type:"Script"},{name:"fields",type:"Field",isMany:!0},{name:"id",type:"String",isAttr:!0},{name:"eventDefinitions",type:"bpmn:TimerEventDefinition",isMany:!0}]},{name:"EventListener",superClass:["Element"],meta:{allowedIn:["bpmn:Process"]},properties:[{name:"events",isAttr:!0,type:"String"},{name:"expression",isAttr:!0,type:"String"},{name:"class",isAttr:!0,type:"String"},{name:"delegateExpression",isAttr:!0,type:"String"},{name:"throwEvent",isAttr:!0,type:"String"},{name:"entityType",isAttr:!0,type:"String"},{name:"signalName",isAttr:!0,type:"String"},{name:"errorCode",isAttr:!0,type:"String"},{name:"messageName",isAttr:!0,type:"String"}]},{name:"FormProperty",superClass:["Element"],meta:{allowedIn:["bpmn:StartEvent","bpmn:UserTask"]},properties:[{name:"id",type:"String",isAttr:!0},{name:"name",type:"String",isAttr:!0},{name:"type",type:"String",isAttr:!0},{name:"required",type:"String",isAttr:!0},{name:"readable",type:"String",isAttr:!0},{name:"writable",type:"String",isAttr:!0},{name:"variable",type:"String",isAttr:!0},{name:"expression",type:"String",isAttr:!0},{name:"datePattern",type:"String",isAttr:!0},{name:"default",type:"String",isAttr:!0},{name:"values",type:"Value",isMany:!0}]},{name:"FormData",superClass:["Element"],meta:{allowedIn:["bpmn:StartEvent","bpmn:UserTask"]},properties:[{name:"fields",type:"FormField",isMany:!0},{name:"businessKey",type:"String",isAttr:!0}]},{name:"FormField",superClass:["Element"],properties:[{name:"id",type:"String",isAttr:!0},{name:"label",type:"String",isAttr:!0},{name:"type",type:"String",isAttr:!0},{name:"datePattern",type:"String",isAttr:!0},{name:"defaultValue",type:"String",isAttr:!0},{name:"properties",type:"Properties"},{name:"validation",type:"Validation"},{name:"values",type:"Value",isMany:!0}]},{name:"Validation",superClass:["Element"],properties:[{name:"constraints",type:"Constraint",isMany:!0}]},{name:"Constraint",superClass:["Element"],properties:[{name:"name",type:"String",isAttr:!0},{name:"config",type:"String",isAttr:!0}]},{name:"ConditionalEventDefinitionExtension",isAbstract:!0,extends:["bpmn:ConditionalEventDefinition"],properties:[{name:"variableName",isAttr:!0,type:"String"},{name:"variableEvents",isAttr:!0,type:"String"}]},{name:"AssigneeType",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"MultiCompletionCondition",superClass:["Element"],meta:{allowedIn:["bpmn:Activity"]},properties:[{name:"type",type:"String",isAttr:!0},{name:"conditionType",type:"String",isAttr:!0},{name:"num",type:"Number",isAttr:!0},{name:"body",type:"String",isBody:!0}]},{name:"IdmAssignee",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"IdmCandidateUsers",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask","bpmn:Process"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"IdmCandidateGroups",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask","bpmn:Process"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"NextSequenceFlow",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"NextUser",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"ModelBpmnExtension",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"ProcessNameExp",superClass:["Element"],meta:{allowedIn:["bpmn:Process"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"NodeFormExp",superClass:["Element"],meta:{allowedIn:["bpmn:Event","bpmn:UserTask"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"NodeFormType",superClass:["Element"],meta:{allowedIn:["bpmn:Event","bpmn:UserTask"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"StaticAssigneeVariables",superClass:["Element"],meta:{allowedIn:["bpmn:Event","bpmn:UserTask"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"MultiInstanceVariables",superClass:["Element"],meta:{allowedIn:["*"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"ServiceTask",extends:["bpmn:ServiceTask"],properties:[{name:"parallelInSameTransaction",type:"Boolean",isAttr:!0}]},{name:"TimeDate",superClass:["Element"],meta:{allowedIn:["bpmn:BoundaryEvent","bpmn:TimerEventDefinition","bpmn:UserTask"]},properties:[{name:"body",isBody:!0,type:"String"}]},{name:"BoundaryEvent",extends:["bpmn:BoundaryEvent"],properties:[{name:"timerEventDefinition",isBody:!0,type:"flowable:TimerEventDefinition"},{name:"cancelActivity",isAttr:!0,type:"Boolean",redefines:"bpmn:BoundaryEvent#cancelActivity"}]},{name:"TimerEventDefinition",superClass:["TimerEventDefinition"],meta:{allowedIn:["bpmn:BoundaryEvent","bpmn:TimerEventDefinition","bpmn:UserTask"]},properties:[{name:"body",isBody:!0,type:"String"}]},{name:"TimeDuration",superClass:["Element"],meta:{allowedIn:["bpmn:BoundaryEvent","bpmn:TimerEventDefinition","bpmn:UserTask"]},properties:[{name:"body",isBody:!0,type:"String"}]},{name:"TimeCycle",superClass:["Element"],meta:{allowedIn:["bpmn:BoundaryEvent","bpmn:TimerEventDefinition","flowable:endDate","bpmn:UserTask"]},properties:[{name:"body",isBody:!0,type:"String"},{name:"endDate",isAttr:!0,type:"String"}]},{name:"SkipUserTask",extends:["bpmn:UserTask"],properties:[{name:"skipExpression",type:"String",isAttr:!0}]},{name:"TransferToUsers",superClass:["Element"],meta:{allowedIn:["bpmn:ServiceTask"]},properties:[{name:"body",type:"String",isBody:!0}]},{name:"FormFieldValidation",extends:["bpmn:UserTask","bpmn:StartEvent"],properties:[{name:"formFieldValidation",type:"String",isAttr:!0}]},{name:"DataObject",extends:["bpmn:DataObject"],meta:{allowedIn:["bpmn:Process","bpmn:SubProcess"]},properties:[{name:"itemSubjectRef",type:"String",isAttr:!0,redefines:"bpmn:DataObject#itemSubjectRef"}]},{name:"InterruptingStartEvent",extends:["bpmn:StartEvent"],properties:[{name:"isInterrupting",isAttr:!0,type:"Boolean",redefines:"bpmn:StartEvent#isInterrupting"}]},{name:"VariableListenerEventDefinition",superClass:["Element"],meta:{allowedIn:["*"]},properties:[{name:"variableName",type:"String",isAttr:!0},{name:"variableChangeType",type:"String",isAttr:!0}]},{name:"TerminateEventDefinition",extends:["bpmn:TerminateEventDefinition"],properties:[{name:"terminateAll",isAttr:!0,type:"Boolean"}]},{name:"AdHoc",extends:["bpmn:AdHocSubProcess"],properties:[{name:"cancelRemainingInstances",isAttr:!0,type:"Boolean",redefines:"bpmn:AdHocSubProcess#cancelRemainingInstances"}]}],mu=[],rs={name:lu,uri:cu,prefix:uu,xml:du,associations:fu,types:pu,emumerations:mu},os=[ru,au],hu=i.defineComponent({name:"BpmnMocker",__name:"index",props:{xml:{type:String,default:void 0},loading:{type:Boolean,default:!1},theme:{type:String,default:"light"},local:{type:String,default:"zh_CN"}},emits:["mocker-init","mocker-destroy"],setup(e,{expose:t,emit:n}){const r=e,o=n,{locale:s}=Nr.useI18n(),a=i.ref(void 0),l=i.shallowRef(),c=()=>{l.value=new ki({container:a.value,moddleExtensions:{flowable:rs},additionalModules:[q0,Ti,...os],bpmnRenderer:{overrideColor:!0},gridLine:{gridLineOpacity:.1,gridLineStroke:1}}),o("mocker-init",l.value)},d=()=>{var h,y;(h=l.value)==null||h.clear(),(y=l.value)==null||y.destroy(),l.value=void 0,o("mocker-destroy",l.value)},u=async h=>{var y,O,x,I;try{l.value||c(),await((y=l.value)==null?void 0:y.importXML(h)),(O=l.value)==null||O.get("canvas").zoom("fit-viewport","center");const B=(x=l.value)==null?void 0:x.get("toggleMode");!B._active&&B.toggleMode(!0);const p=(I=l.value)==null?void 0:I.get("eventBus");p==null||p.fire("tokenSimulation.resetSimulation")}catch(B){console.error(B)}},m=h=>{var p;const y=(p=l.value)==null?void 0:p.get("elementRegistry");if(!y)return;const O=y.filter(V=>G.is(V,"bpmn:ExclusiveGateway")),x=l.value.get("simulator"),I=l.value.get("elementColors"),B=l.value.get("simulationStyles");for(const V of O){const g=V.outgoing.find(C=>h.indexOf(C.id)!==-1),f="--token-simulation-grey-darken-30",v="--token-simulation-grey-lighten-56";g&&x.setConfig(V,{activeOutgoing:g}),V.outgoing.forEach(C=>{const P=h.indexOf(C.id)!==-1?f:v,A=B.get(P);I.add(C,"exclusive-gateway-settings",{stroke:A},2001)})}},S=h=>{if(h)return document.body.setAttribute("arco-theme",h);const y=document.body.getAttribute("arco-theme")==="dark";document.body.setAttribute("arco-theme",y?"light":"dark")},b=h=>{var y;h?s.value=h:s.value=s.value==="zh_CN"?"en_US":"zh_CN",Gr("local-lang",s.value),(y=l.value)==null||y.get("eventBus").fire("i18n.changed")};return i.onMounted(()=>{c(),r.xml&&u(r.xml)}),i.onBeforeUnmount(()=>d()),i.watch(()=>r.local,b,{immediate:!0}),i.watch(()=>r.theme,S,{immediate:!0}),t({createNewProcess:u,setSequenceFlows:m,toggleLang:b,toggleTheme:S}),(h,y)=>(i.openBlock(),i.createBlock(i.unref(Rr),{style:{width:"100%",height:"100%"},loading:e.loading},{default:i.withCtx(()=>[i.createElementVNode("div",{ref_key:"canvasEl",ref:a,class:"bpmn-mocker"},null,512)]),_:1},8,["loading"]))}});/**
 * @license lucide-vue-next v0.358.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var rn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
 * @license lucide-vue-next v0.358.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const vu=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
 * @license lucide-vue-next v0.358.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qt=(e,t)=>({size:n,strokeWidth:r=2,absoluteStrokeWidth:o,color:s,class:a,...l},{attrs:c,slots:d})=>i.h("svg",{...rn,width:n||rn.width,height:n||rn.height,stroke:s||rn.stroke,"stroke-width":o?Number(r)*24/Number(n):r,...c,class:["lucide",`lucide-${vu(e)}`],...l},[...t.map(u=>i.h(...u)),...d.default?[d.default()]:[]]);/**
 * @license lucide-vue-next v0.358.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const gu=qt("CircleCheckBigIcon",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
 * @license lucide-vue-next v0.358.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yu=qt("Clock4Icon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
 * @license lucide-vue-next v0.358.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const bu=qt("DownloadIcon",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
 * @license lucide-vue-next v0.358.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Eu=qt("ZoomInIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);/**
 * @license lucide-vue-next v0.358.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const wu=qt("ZoomOutIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);function Ho(e,t,n){const r=encodeURIComponent(n);return{filename:`${t}.${e.toLowerCase()}`,href:`data:application/${e==="svg"?"text/xml":"bpmn20-xml"};charset=UTF-8,${r}`,data:n}}function tr(e,t){if(e&&t){const n=document.createElement("a");n.download=t,n.href=e,n.click(),URL.revokeObjectURL(n.href)}}function Su(e){const t={svg:null,mimetype:"image/png",quality:.92,width:"auto",height:"auto",outputFormat:"base64"};for(const n in e)t[n]=e[n];return new Promise(function(n){let r;if(typeof t.svg=="string"){const d=document.createElement("div");d.style.display="none",d.innerHTML=t.svg,r=d.firstElementChild}else r=t.svg;const o=document.createElement("canvas"),s=o.getContext("2d"),a=new XMLSerializer().serializeToString(r),l="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(a))),c=new Image;c.onload=function(){let d,u;t.width==="auto"&&t.height!=="auto"?d=c.width/c.height*t.height:t.width==="auto"?d=c.naturalWidth:d=t.width,t.height==="auto"&&t.width!=="auto"?u=c.height/c.width*t.width:t.height==="auto"?u=c.naturalHeight:u=t.height,o.width=d,o.height=u,s.drawImage(c,0,0,d,u),e.outputFormat=="blob"?o.toBlob(function(m){n(m)},t.mimetype,t.quality):n(o.toDataURL(t.mimetype,t.quality))},c.src=l})}const _u={class:"bpmn-viewer"},Cu={class:"bpmn-viewer__toolbar"},ku={style:{"text-align":"center",display:"inline-block",width:"40px"}},Tu={class:"button-list_column"},is=i.defineComponent({name:"BpmnViewer",__name:"index",props:{xml:{type:String,default:void 0},theme:{type:String,default:"light"},local:{type:String,default:"zh_CN"},translatePrefix:{type:String,default:""},loading:{type:Boolean,default:!1},inPreset:{type:Boolean,default:!1},showDownload:{type:Boolean,default:!1},fileName:{type:String,default:""}},emits:["viewer-init","viewer-destroy","element-hover"],setup(e,{expose:t,emit:n}){const r=e,o=n,{locale:s,t:a}=Nr.useI18n(),l=i.ref(void 0),c=i.shallowRef(),d={fill:"#C8E6C9",stroke:"#338136"},u={fill:"#FFE0B2",stroke:"#6B3C00"},m=()=>{c.value=new ki({container:l.value,moddleExtensions:{flowable:rs},additionalModules:[ka,Ti,...os,{zoomScroll:["value",""]}],gridLine:{gridLineOpacity:.1,gridLineStroke:1}}),c.value.on("element.hover",({element:N,gfx:k})=>{o("element-hover",N,k)}),c.value.on("canvas.viewbox.changed",({viewbox:N})=>{V.value=N.scale||1}),o("viewer-init",c.value)},S=()=>{var N,k;(N=c.value)==null||N.clear(),(k=c.value)==null||k.destroy(),c.value=void 0,o("viewer-destroy",c.value)},b=()=>c.value,h=N=>N?r.translatePrefix+N:"-",y=async N=>{var k,z;try{c.value||m(),await((k=c.value)==null?void 0:k.importXML(N)),(z=c.value)==null||z.get("canvas").zoom("fit-viewport","center")}catch(T){console.error(T)}},O=N=>{var F,q;const k=N.reduce((J,Q)=>(J[Q]=!0)&&J,{}),z=(F=c.value)==null?void 0:F.get("elementRegistry");if(!z)return;const T=z.filter(J=>k[J.id]);(q=c.value)==null||q.get("modeling").setColor(T,d)},x=N=>{var F,q;const k=N.reduce((J,Q)=>(J[Q]=!0)&&J,{}),z=(F=c.value)==null?void 0:F.get("elementRegistry");if(!z)return;const T=z.filter(J=>k[J.id]);(q=c.value)==null||q.get("modeling").setColor(T,u)},I=N=>{var F;const k=N.reduce((q,J)=>(q[J]=!0)&&q,{}),z=(F=c.value)==null?void 0:F.get("elementRegistry");if(!z)return;const T=c.value.get("canvas");z.forEach(q=>{if(k[q.id]){const J=q.type.split(":")[1];T.addMarker(q,"on-processing"),T.addMarker(q,J)}})},B=N=>{if(r.inPreset)return;if(N)return document.body.setAttribute("arco-theme",N);const k=document.body.getAttribute("arco-theme")==="dark";document.body.setAttribute("arco-theme",k?"light":"dark")},p=N=>{var k;r.inPreset||(N?s.value=N:s.value=s.value==="zh_CN"?"en_US":"zh_CN",Gr("local-lang",s.value),(k=c.value)==null||k.get("eventBus").fire("i18n.changed"))},V=i.ref(1),g=N=>{const k=c.value.get("canvas");N==="fit-viewport"?k.zoom("fit-viewport","center"):k.zoom(N,{x:0,y:0})},f=N=>{V.value=Math.floor(V.value*100-.1*100)/100,g(V.value)},v=N=>{V.value=Math.floor(V.value*100+.1*100)/100,g(V.value)},C=N=>{function k(T){const F=/var\(--([^)]+)\)/g;return T.replace(F,(q,J)=>z(J)||q)}function z(T){if(T.includes("color-bg"))return"none";const F=document.querySelector(".djs-container.djs-parent");return window.getComputedStyle(F).getPropertyValue(`--${T}`)}return k(N)},P=()=>{var z,T,F;const N=c.value.get("elementRegistry");let k=(z=N.find(q=>q.type==="bpmn:Process"))==null?void 0:z.businessObject;return k||(k=(F=(T=N.find(q=>q.type==="bpmn:Participant"))==null?void 0:T.businessObject)==null?void 0:F.processRef),(k==null?void 0:k.name)||(k==null?void 0:k.id)||"diagram"},A=async(N,k)=>{try{const z=k||r.fileName||P();if(N==="xml"||N==="bpmn"){const{error:T,xml:F}=await c.value.saveXML({format:!0});T&&console.error(`[Process Designer Warn ]: ${T.message||T}`);const{href:q,filename:J}=Ho(N.toUpperCase(),z,F);tr(q,J)}else if(N==="svg"){const{svg:T}=await c.value.saveSVG(),F=C(T),{href:q,filename:J}=Ho("SVG",z,F);tr(q,J)}else $(z)}catch(z){console.error(`[Process Designer Warn ]: ${z.message||z}`)}},$=async N=>{const{svg:k}=await c.value.saveSVG(),z=C(k),T=await Su({svg:z,outputFormat:"blob"});T instanceof Blob&&tr(URL.createObjectURL(T),N)};return i.onMounted(()=>{m(),r.xml&&y(r.xml)}),i.onBeforeUnmount(()=>S()),i.watch(()=>r.theme,B,{immediate:!0}),i.watch(()=>r.local,p,{immediate:!0}),t({createNewProcess:y,setPassedNodes:O,setActiveNodes:x,setProcessingMarker:I,getModeler:b,toggleLang:p,toggleTheme:B,downloadProcess:A,downloadProcessAsPng:$}),(N,k)=>(i.openBlock(),i.createElementBlock("div",_u,[i.createElementVNode("div",Cu,[i.createVNode(i.unref(un),{size:"mini"},{default:i.withCtx(()=>[i.createVNode(i.unref(Mt),null,{content:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(a)(h("zoomOut"))),1)]),default:i.withCtx(()=>[i.createVNode(i.unref(Je),{onClick:k[0]||(k[0]=z=>f())},{default:i.withCtx(()=>[i.createVNode(i.unref(wu),{size:16})]),_:1})]),_:1}),i.createVNode(i.unref(Mt),null,{content:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(a)(h("zoomReset"))),1)]),default:i.withCtx(()=>[i.createVNode(i.unref(Je),{onClick:k[1]||(k[1]=z=>g("fit-viewport"))},{default:i.withCtx(()=>[i.createElementVNode("span",ku,i.toDisplayString(Math.floor(V.value*10)*10+"%"),1)]),_:1})]),_:1}),i.createVNode(i.unref(Mt),null,{content:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(a)(h("zoomIn"))),1)]),default:i.withCtx(()=>[i.createVNode(i.unref(Je),{onClick:k[2]||(k[2]=z=>v())},{default:i.withCtx(()=>[i.createVNode(i.unref(Eu),{size:16})]),_:1})]),_:1}),e.showDownload?(i.openBlock(),i.createBlock(i.unref(Mt),{key:0},{content:i.withCtx(()=>[i.createElementVNode("div",Tu,[i.createVNode(i.unref(Je),{onClick:k[3]||(k[3]=z=>A("bpmn"))},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(a)(h("exportAsBPMN"))),1)]),_:1}),i.createVNode(i.unref(Je),{onClick:k[4]||(k[4]=z=>A("xml"))},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(a)(h("exportAsXML"))),1)]),_:1}),i.createVNode(i.unref(Je),{onClick:k[5]||(k[5]=z=>A("svg"))},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(a)(h("exportAsSVG"))),1)]),_:1}),i.createVNode(i.unref(Je),{onClick:k[6]||(k[6]=z=>A("png"))},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(a)(h("exportAsPNG"))),1)]),_:1})])]),default:i.withCtx(()=>[i.createVNode(i.unref(Je),null,{default:i.withCtx(()=>[i.createVNode(i.unref(bu),{size:16})]),_:1})]),_:1})):i.createCommentVNode("",!0)]),_:1})]),i.createVNode(i.unref(Rr),{style:{width:"100%",height:"100%"},loading:e.loading},{default:i.withCtx(()=>[i.createElementVNode("div",{ref_key:"canvasEl",ref:l,class:"bpmn-viewer__canvas"},null,512)]),_:1},8,["loading"])]))}});var Se="top",Pe="bottom",De="right",_e="left",Kr="auto",Wt=[Se,Pe,De,_e],St="start",Rt="end",Ou="clippingParents",ss="viewport",xt="popper",Au="reference",qo=Wt.reduce(function(e,t){return e.concat([t+"-"+St,t+"-"+Rt])},[]),as=[].concat(Wt,[Kr]).reduce(function(e,t){return e.concat([t,t+"-"+St,t+"-"+Rt])},[]),xu="beforeRead",Nu="read",Pu="afterRead",Du="beforeMain",Bu="main",Mu="afterMain",$u="beforeWrite",Lu="write",Iu="afterWrite",Ru=[xu,Nu,Pu,Du,Bu,Mu,$u,Lu,Iu];function Fe(e){return e?(e.nodeName||"").toLowerCase():null}function Te(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ct(e){var t=Te(e).Element;return e instanceof t||e instanceof Element}function xe(e){var t=Te(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Yr(e){if(typeof ShadowRoot>"u")return!1;var t=Te(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Vu(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},s=t.elements[n];!xe(s)||!Fe(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(a){var l=o[a];l===!1?s.removeAttribute(a):s.setAttribute(a,l===!0?"":l)}))})}function zu(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],s=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=a.reduce(function(c,d){return c[d]="",c},{});!xe(o)||!Fe(o)||(Object.assign(o.style,l),Object.keys(s).forEach(function(c){o.removeAttribute(c)}))})}}const ls={name:"applyStyles",enabled:!0,phase:"write",fn:Vu,effect:zu,requires:["computeStyles"]};function ze(e){return e.split("-")[0]}var at=Math.max,En=Math.min,_t=Math.round;function vr(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function cs(){return!/^((?!chrome|android).)*safari/i.test(vr())}function Ct(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&xe(e)&&(o=e.offsetWidth>0&&_t(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&_t(r.height)/e.offsetHeight||1);var a=ct(e)?Te(e):window,l=a.visualViewport,c=!cs()&&n,d=(r.left+(c&&l?l.offsetLeft:0))/o,u=(r.top+(c&&l?l.offsetTop:0))/s,m=r.width/o,S=r.height/s;return{width:m,height:S,top:u,right:d+m,bottom:u+S,left:d,x:d,y:u}}function Xr(e){var t=Ct(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function us(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Yr(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ge(e){return Te(e).getComputedStyle(e)}function Fu(e){return["table","td","th"].indexOf(Fe(e))>=0}function tt(e){return((ct(e)?e.ownerDocument:e.document)||window.document).documentElement}function Nn(e){return Fe(e)==="html"?e:e.assignedSlot||e.parentNode||(Yr(e)?e.host:null)||tt(e)}function Wo(e){return!xe(e)||Ge(e).position==="fixed"?null:e.offsetParent}function ju(e){var t=/firefox/i.test(vr()),n=/Trident/i.test(vr());if(n&&xe(e)){var r=Ge(e);if(r.position==="fixed")return null}var o=Nn(e);for(Yr(o)&&(o=o.host);xe(o)&&["html","body"].indexOf(Fe(o))<0;){var s=Ge(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function Gt(e){for(var t=Te(e),n=Wo(e);n&&Fu(n)&&Ge(n).position==="static";)n=Wo(n);return n&&(Fe(n)==="html"||Fe(n)==="body"&&Ge(n).position==="static")?t:n||ju(e)||t}function Jr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $t(e,t,n){return at(e,En(t,n))}function Uu(e,t,n){var r=$t(e,t,n);return r>n?n:r}function ds(){return{top:0,right:0,bottom:0,left:0}}function fs(e){return Object.assign({},ds(),e)}function ps(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Hu=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,fs(typeof t!="number"?t:ps(t,Wt))};function qu(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,l=ze(n.placement),c=Jr(l),d=[_e,De].indexOf(l)>=0,u=d?"height":"width";if(!(!s||!a)){var m=Hu(o.padding,n),S=Xr(s),b=c==="y"?Se:_e,h=c==="y"?Pe:De,y=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],O=a[c]-n.rects.reference[c],x=Gt(s),I=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,B=y/2-O/2,p=m[b],V=I-S[u]-m[h],g=I/2-S[u]/2+B,f=$t(p,g,V),v=c;n.modifiersData[r]=(t={},t[v]=f,t.centerOffset=f-g,t)}}function Wu(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||us(t.elements.popper,o)&&(t.elements.arrow=o))}const Gu={name:"arrow",enabled:!0,phase:"main",fn:qu,effect:Wu,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function kt(e){return e.split("-")[1]}var Ku={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yu(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:_t(n*o)/o||0,y:_t(r*o)/o||0}}function Go(e){var t,n=e.popper,r=e.popperRect,o=e.placement,s=e.variation,a=e.offsets,l=e.position,c=e.gpuAcceleration,d=e.adaptive,u=e.roundOffsets,m=e.isFixed,S=a.x,b=S===void 0?0:S,h=a.y,y=h===void 0?0:h,O=typeof u=="function"?u({x:b,y}):{x:b,y};b=O.x,y=O.y;var x=a.hasOwnProperty("x"),I=a.hasOwnProperty("y"),B=_e,p=Se,V=window;if(d){var g=Gt(n),f="clientHeight",v="clientWidth";if(g===Te(n)&&(g=tt(n),Ge(g).position!=="static"&&l==="absolute"&&(f="scrollHeight",v="scrollWidth")),g=g,o===Se||(o===_e||o===De)&&s===Rt){p=Pe;var C=m&&g===V&&V.visualViewport?V.visualViewport.height:g[f];y-=C-r.height,y*=c?1:-1}if(o===_e||(o===Se||o===Pe)&&s===Rt){B=De;var P=m&&g===V&&V.visualViewport?V.visualViewport.width:g[v];b-=P-r.width,b*=c?1:-1}}var A=Object.assign({position:l},d&&Ku),$=u===!0?Yu({x:b,y},Te(n)):{x:b,y};if(b=$.x,y=$.y,c){var N;return Object.assign({},A,(N={},N[p]=I?"0":"",N[B]=x?"0":"",N.transform=(V.devicePixelRatio||1)<=1?"translate("+b+"px, "+y+"px)":"translate3d("+b+"px, "+y+"px, 0)",N))}return Object.assign({},A,(t={},t[p]=I?y+"px":"",t[B]=x?b+"px":"",t.transform="",t))}function Xu(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,s=n.adaptive,a=s===void 0?!0:s,l=n.roundOffsets,c=l===void 0?!0:l,d={placement:ze(t.placement),variation:kt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Go(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Go(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ju={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Xu,data:{}};var on={passive:!0};function Zu(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=o===void 0?!0:o,a=r.resize,l=a===void 0?!0:a,c=Te(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach(function(u){u.addEventListener("scroll",n.update,on)}),l&&c.addEventListener("resize",n.update,on),function(){s&&d.forEach(function(u){u.removeEventListener("scroll",n.update,on)}),l&&c.removeEventListener("resize",n.update,on)}}const Qu={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Zu,data:{}};var ed={left:"right",right:"left",bottom:"top",top:"bottom"};function fn(e){return e.replace(/left|right|bottom|top/g,function(t){return ed[t]})}var td={start:"end",end:"start"};function Ko(e){return e.replace(/start|end/g,function(t){return td[t]})}function Zr(e){var t=Te(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Qr(e){return Ct(tt(e)).left+Zr(e).scrollLeft}function nd(e,t){var n=Te(e),r=tt(e),o=n.visualViewport,s=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){s=o.width,a=o.height;var d=cs();(d||!d&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:s,height:a,x:l+Qr(e),y:c}}function rd(e){var t,n=tt(e),r=Zr(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=at(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=at(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Qr(e),c=-r.scrollTop;return Ge(o||n).direction==="rtl"&&(l+=at(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:a,x:l,y:c}}function eo(e){var t=Ge(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ms(e){return["html","body","#document"].indexOf(Fe(e))>=0?e.ownerDocument.body:xe(e)&&eo(e)?e:ms(Nn(e))}function Lt(e,t){var n;t===void 0&&(t=[]);var r=ms(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Te(r),a=o?[s].concat(s.visualViewport||[],eo(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(Lt(Nn(a)))}function gr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function od(e,t){var n=Ct(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Yo(e,t,n){return t===ss?gr(nd(e,n)):ct(t)?od(t,n):gr(rd(tt(e)))}function id(e){var t=Lt(Nn(e)),n=["absolute","fixed"].indexOf(Ge(e).position)>=0,r=n&&xe(e)?Gt(e):e;return ct(r)?t.filter(function(o){return ct(o)&&us(o,r)&&Fe(o)!=="body"}):[]}function sd(e,t,n,r){var o=t==="clippingParents"?id(e):[].concat(t),s=[].concat(o,[n]),a=s[0],l=s.reduce(function(c,d){var u=Yo(e,d,r);return c.top=at(u.top,c.top),c.right=En(u.right,c.right),c.bottom=En(u.bottom,c.bottom),c.left=at(u.left,c.left),c},Yo(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function hs(e){var t=e.reference,n=e.element,r=e.placement,o=r?ze(r):null,s=r?kt(r):null,a=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,c;switch(o){case Se:c={x:a,y:t.y-n.height};break;case Pe:c={x:a,y:t.y+t.height};break;case De:c={x:t.x+t.width,y:l};break;case _e:c={x:t.x-n.width,y:l};break;default:c={x:t.x,y:t.y}}var d=o?Jr(o):null;if(d!=null){var u=d==="y"?"height":"width";switch(s){case St:c[d]=c[d]-(t[u]/2-n[u]/2);break;case Rt:c[d]=c[d]+(t[u]/2-n[u]/2);break}}return c}function Vt(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,a=s===void 0?e.strategy:s,l=n.boundary,c=l===void 0?Ou:l,d=n.rootBoundary,u=d===void 0?ss:d,m=n.elementContext,S=m===void 0?xt:m,b=n.altBoundary,h=b===void 0?!1:b,y=n.padding,O=y===void 0?0:y,x=fs(typeof O!="number"?O:ps(O,Wt)),I=S===xt?Au:xt,B=e.rects.popper,p=e.elements[h?I:S],V=sd(ct(p)?p:p.contextElement||tt(e.elements.popper),c,u,a),g=Ct(e.elements.reference),f=hs({reference:g,element:B,strategy:"absolute",placement:o}),v=gr(Object.assign({},B,f)),C=S===xt?v:g,P={top:V.top-C.top+x.top,bottom:C.bottom-V.bottom+x.bottom,left:V.left-C.left+x.left,right:C.right-V.right+x.right},A=e.modifiersData.offset;if(S===xt&&A){var $=A[o];Object.keys(P).forEach(function(N){var k=[De,Pe].indexOf(N)>=0?1:-1,z=[Se,Pe].indexOf(N)>=0?"y":"x";P[N]+=$[z]*k})}return P}function ad(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,s=n.rootBoundary,a=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,d=c===void 0?as:c,u=kt(r),m=u?l?qo:qo.filter(function(h){return kt(h)===u}):Wt,S=m.filter(function(h){return d.indexOf(h)>=0});S.length===0&&(S=m);var b=S.reduce(function(h,y){return h[y]=Vt(e,{placement:y,boundary:o,rootBoundary:s,padding:a})[ze(y)],h},{});return Object.keys(b).sort(function(h,y){return b[h]-b[y]})}function ld(e){if(ze(e)===Kr)return[];var t=fn(e);return[Ko(e),t,Ko(t)]}function cd(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!0:a,c=n.fallbackPlacements,d=n.padding,u=n.boundary,m=n.rootBoundary,S=n.altBoundary,b=n.flipVariations,h=b===void 0?!0:b,y=n.allowedAutoPlacements,O=t.options.placement,x=ze(O),I=x===O,B=c||(I||!h?[fn(O)]:ld(O)),p=[O].concat(B).reduce(function(fe,pe){return fe.concat(ze(pe)===Kr?ad(t,{placement:pe,boundary:u,rootBoundary:m,padding:d,flipVariations:h,allowedAutoPlacements:y}):pe)},[]),V=t.rects.reference,g=t.rects.popper,f=new Map,v=!0,C=p[0],P=0;P<p.length;P++){var A=p[P],$=ze(A),N=kt(A)===St,k=[Se,Pe].indexOf($)>=0,z=k?"width":"height",T=Vt(t,{placement:A,boundary:u,rootBoundary:m,altBoundary:S,padding:d}),F=k?N?De:_e:N?Pe:Se;V[z]>g[z]&&(F=fn(F));var q=fn(F),J=[];if(s&&J.push(T[$]<=0),l&&J.push(T[F]<=0,T[q]<=0),J.every(function(fe){return fe})){C=A,v=!1;break}f.set(A,J)}if(v)for(var Q=h?3:1,de=function(pe){var ye=p.find(function(Oe){var ve=f.get(Oe);if(ve)return ve.slice(0,pe).every(function(Me){return Me})});if(ye)return C=ye,"break"},ae=Q;ae>0;ae--){var he=de(ae);if(he==="break")break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}}const ud={name:"flip",enabled:!0,phase:"main",fn:cd,requiresIfExists:["offset"],data:{_skip:!1}};function Xo(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Jo(e){return[Se,De,Pe,_e].some(function(t){return e[t]>=0})}function dd(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,a=Vt(t,{elementContext:"reference"}),l=Vt(t,{altBoundary:!0}),c=Xo(a,r),d=Xo(l,o,s),u=Jo(c),m=Jo(d);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":m})}const fd={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:dd};function pd(e,t,n){var r=ze(e),o=[_e,Se].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=s[0],l=s[1];return a=a||0,l=(l||0)*o,[_e,De].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function md(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,a=as.reduce(function(u,m){return u[m]=pd(m,t.rects,s),u},{}),l=a[t.placement],c=l.x,d=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=a}const hd={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:md};function vd(e){var t=e.state,n=e.name;t.modifiersData[n]=hs({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const gd={name:"popperOffsets",enabled:!0,phase:"read",fn:vd,data:{}};function yd(e){return e==="x"?"y":"x"}function bd(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!1:a,c=n.boundary,d=n.rootBoundary,u=n.altBoundary,m=n.padding,S=n.tether,b=S===void 0?!0:S,h=n.tetherOffset,y=h===void 0?0:h,O=Vt(t,{boundary:c,rootBoundary:d,padding:m,altBoundary:u}),x=ze(t.placement),I=kt(t.placement),B=!I,p=Jr(x),V=yd(p),g=t.modifiersData.popperOffsets,f=t.rects.reference,v=t.rects.popper,C=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,P=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,$={x:0,y:0};if(g){if(s){var N,k=p==="y"?Se:_e,z=p==="y"?Pe:De,T=p==="y"?"height":"width",F=g[p],q=F+O[k],J=F-O[z],Q=b?-v[T]/2:0,de=I===St?f[T]:v[T],ae=I===St?-v[T]:-f[T],he=t.elements.arrow,fe=b&&he?Xr(he):{width:0,height:0},pe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ds(),ye=pe[k],Oe=pe[z],ve=$t(0,f[T],fe[T]),Me=B?f[T]/2-Q-ve-ye-P.mainAxis:de-ve-ye-P.mainAxis,E=B?-f[T]/2+Q+ve+Oe+P.mainAxis:ae+ve+Oe+P.mainAxis,M=t.elements.arrow&&Gt(t.elements.arrow),L=M?p==="y"?M.clientTop||0:M.clientLeft||0:0,K=(N=A==null?void 0:A[p])!=null?N:0,H=F+Me-K-L,j=F+E-K,ee=$t(b?En(q,H):q,F,b?at(J,j):J);g[p]=ee,$[p]=ee-F}if(l){var re,me=p==="x"?Se:_e,je=p==="x"?Pe:De,se=g[V],ie=V==="y"?"height":"width",rt=se+O[me],$e=se-O[je],Re=[Se,_e].indexOf(x)!==-1,ot=(re=A==null?void 0:A[V])!=null?re:0,dt=Re?rt:se-f[ie]-v[ie]-ot+P.altAxis,ft=Re?se+f[ie]+v[ie]-ot-P.altAxis:$e,D=b&&Re?Uu(dt,se,ft):$t(b?dt:rt,se,b?ft:$e);g[V]=D,$[V]=D-se}t.modifiersData[r]=$}}const Ed={name:"preventOverflow",enabled:!0,phase:"main",fn:bd,requiresIfExists:["offset"]};function wd(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Sd(e){return e===Te(e)||!xe(e)?Zr(e):wd(e)}function _d(e){var t=e.getBoundingClientRect(),n=_t(t.width)/e.offsetWidth||1,r=_t(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Cd(e,t,n){n===void 0&&(n=!1);var r=xe(t),o=xe(t)&&_d(t),s=tt(t),a=Ct(e,o,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Fe(t)!=="body"||eo(s))&&(l=Sd(t)),xe(t)?(c=Ct(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):s&&(c.x=Qr(s))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function kd(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var c=t.get(l);c&&o(c)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function Td(e){var t=kd(e);return Ru.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function Od(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ad(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Zo={placement:"bottom",modifiers:[],strategy:"absolute"};function Qo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function xd(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?Zo:o;return function(l,c,d){d===void 0&&(d=s);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Zo,s),modifiersData:{},elements:{reference:l,popper:c},attributes:{},styles:{}},m=[],S=!1,b={state:u,setOptions:function(x){var I=typeof x=="function"?x(u.options):x;y(),u.options=Object.assign({},s,u.options,I),u.scrollParents={reference:ct(l)?Lt(l):l.contextElement?Lt(l.contextElement):[],popper:Lt(c)};var B=Td(Ad([].concat(r,u.options.modifiers)));return u.orderedModifiers=B.filter(function(p){return p.enabled}),h(),b.update()},forceUpdate:function(){if(!S){var x=u.elements,I=x.reference,B=x.popper;if(Qo(I,B)){u.rects={reference:Cd(I,Gt(B),u.options.strategy==="fixed"),popper:Xr(B)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(P){return u.modifiersData[P.name]=Object.assign({},P.data)});for(var p=0;p<u.orderedModifiers.length;p++){if(u.reset===!0){u.reset=!1,p=-1;continue}var V=u.orderedModifiers[p],g=V.fn,f=V.options,v=f===void 0?{}:f,C=V.name;typeof g=="function"&&(u=g({state:u,options:v,name:C,instance:b})||u)}}}},update:Od(function(){return new Promise(function(O){b.forceUpdate(),O(u)})}),destroy:function(){y(),S=!0}};if(!Qo(l,c))return b;b.setOptions(d).then(function(O){!S&&d.onFirstUpdate&&d.onFirstUpdate(O)});function h(){u.orderedModifiers.forEach(function(O){var x=O.name,I=O.options,B=I===void 0?{}:I,p=O.effect;if(typeof p=="function"){var V=p({state:u,name:x,instance:b,options:B}),g=function(){};m.push(V||g)}})}function y(){m.forEach(function(O){return O()}),m=[]}return b}}var Nd=[Qu,gd,Ju,ls,hd,ud,Ed,Gu,fd],Pd=xd({defaultModifiers:Nd}),Dd="tippy-box",vs="tippy-content",Bd="tippy-backdrop",gs="tippy-arrow",ys="tippy-svg-arrow",st={passive:!0,capture:!0},bs=function(){return document.body};function Md(e,t){return{}.hasOwnProperty.call(e,t)}function nr(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function to(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function Es(e,t){return typeof e=="function"?e.apply(void 0,t):e}function ei(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function $d(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function Ld(e){return e.split(/\s+/).filter(Boolean)}function yt(e){return[].concat(e)}function ti(e,t){e.indexOf(t)===-1&&e.push(t)}function Id(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Rd(e){return e.split("-")[0]}function wn(e){return[].slice.call(e)}function ni(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function It(){return document.createElement("div")}function zt(e){return["Element","Fragment"].some(function(t){return to(e,t)})}function Vd(e){return to(e,"NodeList")}function ws(e){return to(e,"MouseEvent")}function zd(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Fd(e){return zt(e)?[e]:Vd(e)?wn(e):Array.isArray(e)?e:wn(document.querySelectorAll(e))}function rr(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function ri(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function Ss(e){var t,n=yt(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function jd(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var s=o.popperRect,a=o.popperState,l=o.props,c=l.interactiveBorder,d=Rd(a.placement),u=a.modifiersData.offset;if(!u)return!0;var m=d==="bottom"?u.top.y:0,S=d==="top"?u.bottom.y:0,b=d==="right"?u.left.x:0,h=d==="left"?u.right.x:0,y=s.top-r+m>c,O=r-s.bottom-S>c,x=s.left-n+b>c,I=n-s.right-h>c;return y||O||x||I})}function or(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function oi(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Ve={isTouch:!1},ii=0;function Ud(){Ve.isTouch||(Ve.isTouch=!0,window.performance&&document.addEventListener("mousemove",_s))}function _s(){var e=performance.now();e-ii<20&&(Ve.isTouch=!1,document.removeEventListener("mousemove",_s)),ii=e}function Hd(){var e=document.activeElement;if(zd(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function qd(){document.addEventListener("touchstart",Ud,st),window.addEventListener("blur",Hd)}var Wd=typeof window<"u"&&typeof document<"u",Gd=Wd?!!window.msCrypto:!1;function vt(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function si(e){var t=/[ \t]{2,}/g,n=/^[ \t]*/gm;return e.replace(t," ").replace(n,"").trim()}function Kd(e){return si(`
  %ctippy.js

  %c`+si(e)+`

  %c👷‍ This is a development-only message. It will be removed in production.
  `)}function Cs(e){return[Kd(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Ft;process.env.NODE_ENV!=="production"&&Yd();function Yd(){Ft=new Set}function He(e,t){if(e&&!Ft.has(t)){var n;Ft.add(t),(n=console).warn.apply(n,Cs(t))}}function yr(e,t){if(e&&!Ft.has(t)){var n;Ft.add(t),(n=console).error.apply(n,Cs(t))}}function Xd(e){var t=!e,n=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;yr(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),yr(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var ks={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Jd={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},ke=Object.assign({appendTo:bs,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},ks,Jd),Zd=Object.keys(ke),Qd=function(t){process.env.NODE_ENV!=="production"&&Os(t,[]);var n=Object.keys(t);n.forEach(function(r){ke[r]=t[r]})};function Ts(e){var t=e.plugins||[],n=t.reduce(function(r,o){var s=o.name,a=o.defaultValue;if(s){var l;r[s]=e[s]!==void 0?e[s]:(l=ke[s])!=null?l:a}return r},{});return Object.assign({},e,n)}function ef(e,t){var n=t?Object.keys(Ts(Object.assign({},ke,{plugins:t}))):Zd,r=n.reduce(function(o,s){var a=(e.getAttribute("data-tippy-"+s)||"").trim();if(!a)return o;if(s==="content")o[s]=a;else try{o[s]=JSON.parse(a)}catch{o[s]=a}return o},{});return r}function ai(e,t){var n=Object.assign({},t,{content:Es(t.content,[e])},t.ignoreAttributes?{}:ef(e,t.plugins));return n.aria=Object.assign({},ke.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}function Os(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=Object.keys(e);n.forEach(function(r){var o=$d(ke,Object.keys(ks)),s=!Md(o,r);s&&(s=t.filter(function(a){return a.name===r}).length===0),He(s,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`

`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var tf=function(){return"innerHTML"};function br(e,t){e[tf()]=t}function li(e){var t=It();return e===!0?t.className=gs:(t.className=ys,zt(e)?t.appendChild(e):br(t,e)),t}function ci(e,t){zt(t.content)?(br(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?br(e,t.content):e.textContent=t.content)}function Er(e){var t=e.firstElementChild,n=wn(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(vs)}),arrow:n.find(function(r){return r.classList.contains(gs)||r.classList.contains(ys)}),backdrop:n.find(function(r){return r.classList.contains(Bd)})}}function As(e){var t=It(),n=It();n.className=Dd,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=It();r.className=vs,r.setAttribute("data-state","hidden"),ci(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(s,a){var l=Er(t),c=l.box,d=l.content,u=l.arrow;a.theme?c.setAttribute("data-theme",a.theme):c.removeAttribute("data-theme"),typeof a.animation=="string"?c.setAttribute("data-animation",a.animation):c.removeAttribute("data-animation"),a.inertia?c.setAttribute("data-inertia",""):c.removeAttribute("data-inertia"),c.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?c.setAttribute("role",a.role):c.removeAttribute("role"),(s.content!==a.content||s.allowHTML!==a.allowHTML)&&ci(d,e.props),a.arrow?u?s.arrow!==a.arrow&&(c.removeChild(u),c.appendChild(li(a.arrow))):c.appendChild(li(a.arrow)):u&&c.removeChild(u)}return{popper:t,onUpdate:o}}As.$$tippy=!0;var nf=1,sn=[],ir=[];function rf(e,t){var n=ai(e,Object.assign({},ke,Ts(ni(t)))),r,o,s,a=!1,l=!1,c=!1,d=!1,u,m,S,b=[],h=ei(H,n.interactiveDebounce),y,O=nf++,x=null,I=Id(n.plugins),B={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},p={id:O,reference:e,popper:It(),popperInstance:x,props:n,state:B,plugins:I,clearDelayTimeouts:dt,setProps:ft,setContent:D,show:Y,hide:ge,hideWithInteractivity:Ye,enable:Re,disable:ot,unmount:Ue,destroy:Xe};if(!n.render)return process.env.NODE_ENV!=="production"&&yr(!0,"render() function has not been supplied."),p;var V=n.render(p),g=V.popper,f=V.onUpdate;g.setAttribute("data-tippy-root",""),g.id="tippy-"+p.id,p.popper=g,e._tippy=p,g._tippy=p;var v=I.map(function(_){return _.fn(p)}),C=e.hasAttribute("aria-expanded");return M(),Q(),F(),q("onCreate",[p]),n.showOnCreate&&rt(),g.addEventListener("mouseenter",function(){p.props.interactive&&p.state.isVisible&&p.clearDelayTimeouts()}),g.addEventListener("mouseleave",function(){p.props.interactive&&p.props.trigger.indexOf("mouseenter")>=0&&k().addEventListener("mousemove",h)}),p;function P(){var _=p.props.touch;return Array.isArray(_)?_:[_,0]}function A(){return P()[0]==="hold"}function $(){var _;return!!((_=p.props.render)!=null&&_.$$tippy)}function N(){return y||e}function k(){var _=N().parentNode;return _?Ss(_):document}function z(){return Er(g)}function T(_){return p.state.isMounted&&!p.state.isVisible||Ve.isTouch||u&&u.type==="focus"?0:nr(p.props.delay,_?0:1,ke.delay)}function F(_){_===void 0&&(_=!1),g.style.pointerEvents=p.props.interactive&&!_?"":"none",g.style.zIndex=""+p.props.zIndex}function q(_,U,X){if(X===void 0&&(X=!0),v.forEach(function(te){te[_]&&te[_].apply(te,U)}),X){var oe;(oe=p.props)[_].apply(oe,U)}}function J(){var _=p.props.aria;if(_.content){var U="aria-"+_.content,X=g.id,oe=yt(p.props.triggerTarget||e);oe.forEach(function(te){var we=te.getAttribute(U);if(p.state.isVisible)te.setAttribute(U,we?we+" "+X:X);else{var Ae=we&&we.replace(X,"").trim();Ae?te.setAttribute(U,Ae):te.removeAttribute(U)}})}}function Q(){if(!(C||!p.props.aria.expanded)){var _=yt(p.props.triggerTarget||e);_.forEach(function(U){p.props.interactive?U.setAttribute("aria-expanded",p.state.isVisible&&U===N()?"true":"false"):U.removeAttribute("aria-expanded")})}}function de(){k().removeEventListener("mousemove",h),sn=sn.filter(function(_){return _!==h})}function ae(_){if(!(Ve.isTouch&&(c||_.type==="mousedown"))){var U=_.composedPath&&_.composedPath()[0]||_.target;if(!(p.props.interactive&&oi(g,U))){if(yt(p.props.triggerTarget||e).some(function(X){return oi(X,U)})){if(Ve.isTouch||p.state.isVisible&&p.props.trigger.indexOf("click")>=0)return}else q("onClickOutside",[p,_]);p.props.hideOnClick===!0&&(p.clearDelayTimeouts(),p.hide(),l=!0,setTimeout(function(){l=!1}),p.state.isMounted||ye())}}}function he(){c=!0}function fe(){c=!1}function pe(){var _=k();_.addEventListener("mousedown",ae,!0),_.addEventListener("touchend",ae,st),_.addEventListener("touchstart",fe,st),_.addEventListener("touchmove",he,st)}function ye(){var _=k();_.removeEventListener("mousedown",ae,!0),_.removeEventListener("touchend",ae,st),_.removeEventListener("touchstart",fe,st),_.removeEventListener("touchmove",he,st)}function Oe(_,U){Me(_,function(){!p.state.isVisible&&g.parentNode&&g.parentNode.contains(g)&&U()})}function ve(_,U){Me(_,U)}function Me(_,U){var X=z().box;function oe(te){te.target===X&&(or(X,"remove",oe),U())}if(_===0)return U();or(X,"remove",m),or(X,"add",oe),m=oe}function E(_,U,X){X===void 0&&(X=!1);var oe=yt(p.props.triggerTarget||e);oe.forEach(function(te){te.addEventListener(_,U,X),b.push({node:te,eventType:_,handler:U,options:X})})}function M(){A()&&(E("touchstart",K,{passive:!0}),E("touchend",j,{passive:!0})),Ld(p.props.trigger).forEach(function(_){if(_!=="manual")switch(E(_,K),_){case"mouseenter":E("mouseleave",j);break;case"focus":E(Gd?"focusout":"blur",ee);break;case"focusin":E("focusout",ee);break}})}function L(){b.forEach(function(_){var U=_.node,X=_.eventType,oe=_.handler,te=_.options;U.removeEventListener(X,oe,te)}),b=[]}function K(_){var U,X=!1;if(!(!p.state.isEnabled||re(_)||l)){var oe=((U=u)==null?void 0:U.type)==="focus";u=_,y=_.currentTarget,Q(),!p.state.isVisible&&ws(_)&&sn.forEach(function(te){return te(_)}),_.type==="click"&&(p.props.trigger.indexOf("mouseenter")<0||a)&&p.props.hideOnClick!==!1&&p.state.isVisible?X=!0:rt(_),_.type==="click"&&(a=!X),X&&!oe&&$e(_)}}function H(_){var U=_.target,X=N().contains(U)||g.contains(U);if(!(_.type==="mousemove"&&X)){var oe=ie().concat(g).map(function(te){var we,Ae=te._tippy,pt=(we=Ae.popperInstance)==null?void 0:we.state;return pt?{popperRect:te.getBoundingClientRect(),popperState:pt,props:n}:null}).filter(Boolean);jd(oe,_)&&(de(),$e(_))}}function j(_){var U=re(_)||p.props.trigger.indexOf("click")>=0&&a;if(!U){if(p.props.interactive){p.hideWithInteractivity(_);return}$e(_)}}function ee(_){p.props.trigger.indexOf("focusin")<0&&_.target!==N()||p.props.interactive&&_.relatedTarget&&g.contains(_.relatedTarget)||$e(_)}function re(_){return Ve.isTouch?A()!==_.type.indexOf("touch")>=0:!1}function me(){je();var _=p.props,U=_.popperOptions,X=_.placement,oe=_.offset,te=_.getReferenceClientRect,we=_.moveTransition,Ae=$()?Er(g).arrow:null,pt=te?{getBoundingClientRect:te,contextElement:te.contextElement||N()}:e,lo={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Zt){var mt=Zt.state;if($()){var ra=z(),In=ra.box;["placement","reference-hidden","escaped"].forEach(function(Qt){Qt==="placement"?In.setAttribute("data-placement",mt.placement):mt.attributes.popper["data-popper-"+Qt]?In.setAttribute("data-"+Qt,""):In.removeAttribute("data-"+Qt)}),mt.attributes.popper={}}}},it=[{name:"offset",options:{offset:oe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!we}},lo];$()&&Ae&&it.push({name:"arrow",options:{element:Ae,padding:3}}),it.push.apply(it,(U==null?void 0:U.modifiers)||[]),p.popperInstance=Pd(pt,g,Object.assign({},U,{placement:X,onFirstUpdate:S,modifiers:it}))}function je(){p.popperInstance&&(p.popperInstance.destroy(),p.popperInstance=null)}function se(){var _=p.props.appendTo,U,X=N();p.props.interactive&&_===bs||_==="parent"?U=X.parentNode:U=Es(_,[X]),U.contains(g)||U.appendChild(g),p.state.isMounted=!0,me(),process.env.NODE_ENV!=="production"&&He(p.props.interactive&&_===ke.appendTo&&X.nextElementSibling!==g,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`

`,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`

`,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`

`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function ie(){return wn(g.querySelectorAll("[data-tippy-root]"))}function rt(_){p.clearDelayTimeouts(),_&&q("onTrigger",[p,_]),pe();var U=T(!0),X=P(),oe=X[0],te=X[1];Ve.isTouch&&oe==="hold"&&te&&(U=te),U?r=setTimeout(function(){p.show()},U):p.show()}function $e(_){if(p.clearDelayTimeouts(),q("onUntrigger",[p,_]),!p.state.isVisible){ye();return}if(!(p.props.trigger.indexOf("mouseenter")>=0&&p.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(_.type)>=0&&a)){var U=T(!1);U?o=setTimeout(function(){p.state.isVisible&&p.hide()},U):s=requestAnimationFrame(function(){p.hide()})}}function Re(){p.state.isEnabled=!0}function ot(){p.hide(),p.state.isEnabled=!1}function dt(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(s)}function ft(_){if(process.env.NODE_ENV!=="production"&&He(p.state.isDestroyed,vt("setProps")),!p.state.isDestroyed){q("onBeforeUpdate",[p,_]),L();var U=p.props,X=ai(e,Object.assign({},U,ni(_),{ignoreAttributes:!0}));p.props=X,M(),U.interactiveDebounce!==X.interactiveDebounce&&(de(),h=ei(H,X.interactiveDebounce)),U.triggerTarget&&!X.triggerTarget?yt(U.triggerTarget).forEach(function(oe){oe.removeAttribute("aria-expanded")}):X.triggerTarget&&e.removeAttribute("aria-expanded"),Q(),F(),f&&f(U,X),p.popperInstance&&(me(),ie().forEach(function(oe){requestAnimationFrame(oe._tippy.popperInstance.forceUpdate)})),q("onAfterUpdate",[p,_])}}function D(_){p.setProps({content:_})}function Y(){process.env.NODE_ENV!=="production"&&He(p.state.isDestroyed,vt("show"));var _=p.state.isVisible,U=p.state.isDestroyed,X=!p.state.isEnabled,oe=Ve.isTouch&&!p.props.touch,te=nr(p.props.duration,0,ke.duration);if(!(_||U||X||oe)&&!N().hasAttribute("disabled")&&(q("onShow",[p],!1),p.props.onShow(p)!==!1)){if(p.state.isVisible=!0,$()&&(g.style.visibility="visible"),F(),pe(),p.state.isMounted||(g.style.transition="none"),$()){var we=z(),Ae=we.box,pt=we.content;rr([Ae,pt],0)}S=function(){var it;if(!(!p.state.isVisible||d)){if(d=!0,g.offsetHeight,g.style.transition=p.props.moveTransition,$()&&p.props.animation){var Ln=z(),Zt=Ln.box,mt=Ln.content;rr([Zt,mt],te),ri([Zt,mt],"visible")}J(),Q(),ti(ir,p),(it=p.popperInstance)==null||it.forceUpdate(),q("onMount",[p]),p.props.animation&&$()&&ve(te,function(){p.state.isShown=!0,q("onShown",[p])})}},se()}}function ge(){process.env.NODE_ENV!=="production"&&He(p.state.isDestroyed,vt("hide"));var _=!p.state.isVisible,U=p.state.isDestroyed,X=!p.state.isEnabled,oe=nr(p.props.duration,1,ke.duration);if(!(_||U||X)&&(q("onHide",[p],!1),p.props.onHide(p)!==!1)){if(p.state.isVisible=!1,p.state.isShown=!1,d=!1,a=!1,$()&&(g.style.visibility="hidden"),de(),ye(),F(!0),$()){var te=z(),we=te.box,Ae=te.content;p.props.animation&&(rr([we,Ae],oe),ri([we,Ae],"hidden"))}J(),Q(),p.props.animation?$()&&Oe(oe,p.unmount):p.unmount()}}function Ye(_){process.env.NODE_ENV!=="production"&&He(p.state.isDestroyed,vt("hideWithInteractivity")),k().addEventListener("mousemove",h),ti(sn,h),h(_)}function Ue(){process.env.NODE_ENV!=="production"&&He(p.state.isDestroyed,vt("unmount")),p.state.isVisible&&p.hide(),p.state.isMounted&&(je(),ie().forEach(function(_){_._tippy.unmount()}),g.parentNode&&g.parentNode.removeChild(g),ir=ir.filter(function(_){return _!==p}),p.state.isMounted=!1,q("onHidden",[p]))}function Xe(){process.env.NODE_ENV!=="production"&&He(p.state.isDestroyed,vt("destroy")),!p.state.isDestroyed&&(p.clearDelayTimeouts(),p.unmount(),L(),delete e._tippy,p.state.isDestroyed=!0,q("onDestroy",[p]))}}function Kt(e,t){t===void 0&&(t={});var n=ke.plugins.concat(t.plugins||[]);process.env.NODE_ENV!=="production"&&(Xd(e),Os(t,n)),qd();var r=Object.assign({},t,{plugins:n}),o=Fd(e);if(process.env.NODE_ENV!=="production"){var s=zt(r.content),a=o.length>1;He(s&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`

`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`

`,`1) content: element.innerHTML
`,"2) content: () => element.cloneNode(true)"].join(" "))}var l=o.reduce(function(c,d){var u=d&&rf(d,r);return u&&c.push(u),c},[]);return zt(e)?l[0]:l}Kt.defaultProps=ke;Kt.setDefaultProps=Qd;Kt.currentInput=Ve;Object.assign({},ls,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});var wr={clientX:0,clientY:0},an=[];function xs(e){var t=e.clientX,n=e.clientY;wr={clientX:t,clientY:n}}function of(e){e.addEventListener("mousemove",xs)}function sf(e){e.removeEventListener("mousemove",xs)}var af={name:"followCursor",defaultValue:!1,fn:function(t){var n=t.reference,r=Ss(t.props.triggerTarget||n),o=!1,s=!1,a=!0,l=t.props;function c(){return t.props.followCursor==="initial"&&t.state.isVisible}function d(){r.addEventListener("mousemove",S)}function u(){r.removeEventListener("mousemove",S)}function m(){o=!0,t.setProps({getReferenceClientRect:null}),o=!1}function S(y){var O=y.target?n.contains(y.target):!0,x=t.props.followCursor,I=y.clientX,B=y.clientY,p=n.getBoundingClientRect(),V=I-p.left,g=B-p.top;(O||!t.props.interactive)&&t.setProps({getReferenceClientRect:function(){var v=n.getBoundingClientRect(),C=I,P=B;x==="initial"&&(C=v.left+V,P=v.top+g);var A=x==="horizontal"?v.top:P,$=x==="vertical"?v.right:C,N=x==="horizontal"?v.bottom:P,k=x==="vertical"?v.left:C;return{width:$-k,height:N-A,top:A,right:$,bottom:N,left:k}}})}function b(){t.props.followCursor&&(an.push({instance:t,doc:r}),of(r))}function h(){an=an.filter(function(y){return y.instance!==t}),an.filter(function(y){return y.doc===r}).length===0&&sf(r)}return{onCreate:b,onDestroy:h,onBeforeUpdate:function(){l=t.props},onAfterUpdate:function(O,x){var I=x.followCursor;o||I!==void 0&&l.followCursor!==I&&(h(),I?(b(),t.state.isMounted&&!s&&!c()&&d()):(u(),m()))},onMount:function(){t.props.followCursor&&!s&&(a&&(S(wr),a=!1),c()||d())},onTrigger:function(O,x){ws(x)&&(wr={clientX:x.clientX,clientY:x.clientY}),s=x.type==="focus"},onHidden:function(){t.props.followCursor&&(m(),u(),a=!0)}}}};Kt.setDefaultProps({render:As});const Ns=i.defineComponent({__name:"TippyPopover",props:{target:{type:[String,Object],default:""},selectorParent:{type:Object,default:()=>window.document},appendToBody:{type:Boolean,default:!0},theme:{type:String,default:"default"},arrow:{type:[Boolean,String],default:!0},delay:{type:[Number,Array],default:0},duration:{type:[Number,Array],default:()=>[300,250]},followCursor:{type:[String,Boolean],default:!1},hideOnClick:{type:[String,Boolean],default:!0},inertia:{type:Boolean,default:!1},interactive:{type:Boolean,default:!0},interactiveBorder:{type:Number,default:2},interactiveDebounce:{type:Number,default:0},maxWidth:{type:[Number,Boolean],default:350},offset:{type:Array,default:()=>[0,0]},zIndex:{type:Number,default:800},placement:{type:String,default:"top"},animation:{type:[String,Boolean],default:"scale"},trigger:{type:String,default:"mouseenter click"},triggerTarget:{type:[Object,Array],default:null}},setup(e){const t=e,n=i.shallowRef(null),r=i.shallowRef(null),o=()=>{const a={ignoreAttributes:!0,allowHTML:!1,showOnCreate:!1};return a.appendTo=t.appendToBody?()=>document.body:"parent",a.arrow=t.arrow,a.theme=t.theme,a.delay=t.delay,a.duration=t.duration,a.hideOnClick=t.hideOnClick,a.followCursor=t.followCursor,a.inertia=t.inertia,a.interactive=t.interactive,a.interactiveBorder=t.interactiveBorder,a.interactiveDebounce=t.interactiveDebounce,a.maxWidth=t.maxWidth,a.zIndex=t.zIndex,a.offset=t.offset,a.placement=t.placement,a.animation=t.animation,a.trigger=t.trigger,a.triggerTarget=t.triggerTarget,a},s=()=>{if(!t.target)return console.warn("Tippy target can not be null");const a=typeof t.target=="string"?t.selectorParent.querySelector(t.target):t.target,l=o();a&&(r.value=Kt(a,{...l,content:n.value,plugins:[af]}))};return i.onMounted(()=>{s()}),i.onUnmounted(()=>{r.value&&(Array.isArray(r.value)?r.value.forEach(a=>{a.unmount(),a.destroy()}):(r.value.unmount(),r.value.destroy()))}),i.watch(()=>t.target,s),(a,l)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"tippyWrapper",ref:n,class:"tippy-wrapper"},[i.renderSlot(a.$slots,"default")],512))}}),lf=["width","height","stroke-width","stroke"],cf=i.createElementVNode("path",{d:"M12 9m-5 0a5 5 0 1 0 10 0a5 5 0 1 0 -10 0"},null,-1),uf=i.createElementVNode("path",{d:"M12 14v7"},null,-1),df=i.createElementVNode("path",{d:"M9 18h6"},null,-1),ff=[cf,uf,df],pf=i.defineComponent({name:"GenderFemale",__name:"GenderFemale",props:{size:{type:Number,default:16},stroke:{type:Number,default:2},color:{type:String,default:"#2c3e50"}},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-gender-female",width:e.size,height:e.size,viewBox:"0 0 24 24","stroke-width":e.stroke,stroke:e.color,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},ff,8,lf))}}),mf=["width","height","stroke-width","stroke"],hf=i.createElementVNode("path",{d:"M10 14m-5 0a5 5 0 1 0 10 0a5 5 0 1 0 -10 0"},null,-1),vf=i.createElementVNode("path",{d:"M19 5l-5.4 5.4"},null,-1),gf=i.createElementVNode("path",{d:"M19 5h-5"},null,-1),yf=i.createElementVNode("path",{d:"M19 5v5"},null,-1),bf=[hf,vf,gf,yf],Ef=i.defineComponent({name:"GenderMale",__name:"GenderMale",props:{size:{type:Number,default:16},stroke:{type:Number,default:2},color:{type:String,default:"#2c3e50"}},setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-gender-male",width:e.size,height:e.size,viewBox:"0 0 24 24","stroke-width":e.stroke,stroke:e.color,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},bf,8,mf))}}),wf={class:"icon-image",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"72",height:"72"},Sf=i.createStaticVNode('<path d="M288.921053 707.654248c-152.288409 12.659309-99.539384-170.917798-51.367801-420.713709C268.191292 68.17078 384.956012 0.707734 515.144851 0.81047c154.674158 0.125566 213.530243 78.695472 262.47805 305.124741 64.118431 367.428176 100.977683 417.152208-17.1226 417.015227-102.005039-0.125566-471.579248-15.29619-471.579248-15.29619z"></path><path d="M73.689965 1023.269436l50.374691-320.295365 260.994091-81.161126h233.803403l281.061779 81.172541 50.386106 320.28395H73.689965z" fill="#AAD5DC"></path><path d="M618.816489 622.543509l280.513857 81.046975L949.499565 1022.561702H74.55751l50.16922-318.982633 260.446168-81.046975h233.643591m0.205472-1.472544h-234.008874L123.402582 702.403318 72.82242 1024h878.35516l-50.591577-321.596682-281.621118-81.332353z"></path><path d="M591.100707 1019.125766H415.468486l-46.721869-387.724165 71.127282-25.729561 137.094955-2.054712 70.625019 31.311528-56.493166 384.19691zM667.958353 265.640024c68.992665-29.416628 96.936749 101.171739 5.262346 153.030388z" fill="#FFCFB5"></path><path d="M585.016476 815.640782H425.194123l7.419794-206.841014-20.958063-131.22761 173.91996 4.006688-12.145631 110.440774 11.586293 223.621162z" fill="#FFCFB5"></path><path d="M677.763895 329.564399c1.141507-100.635231-39.096604-173.577509-39.096604-173.577508l-60.168818 11.98582a496.407018 496.407018 0 0 1-81.378013 9.200544 496.270038 496.270038 0 0 1-81.378012-9.200544l-60.180234-11.98582s-40.181036 72.942278-39.085189 173.577508l-1.141507 92.81591c0 68.17078 101.046173 155.244911 181.739282 155.244911 59.244198 0 181.727867-87.062716 181.727866-155.244911z" fill="#FFE7D9"></path><path d="M320.632109 269.361336c-68.98125-29.428043-96.925334 101.171739-5.25093 153.018973z" fill="#FFCFB5"></path><path d="M515.144851 91.526007c-27.944084 83.158763-124.230174 172.961095-167.801485 177.835329s-71.54964-4.269235-71.54964-4.269235S337.811785 61.287495 515.144851 91.526007z"></path><path d="M445.307471 133.796c9.942523 95.190244 227.833322 186.659176 234.008874 180.848907 20.421555-78.821038 55.831093-7.648095 55.831092-7.648095l-54.4727-202.046686-122.483668-49.084788h-67.953894"></path><path d="M416.119145 1018.383787l-28.537668-236.919715c23.423717 24.348338 90.612802 33.103694 141.980604 33.103694 44.233385 0 80.932825-5.97008 93.101286-14.976568l-32.190489 218.792589z" fill="#FFFFFF"></path><path d="M388.563173 783.484538c10.638842 10.068089 29.302477 18.001561 55.557131 23.629189 24.451074 5.239516 54.792322 8.127528 85.430362 8.127528 43.445745 0 78.558491-5.467817 92.11959-14.131853l-31.836622 216.543821H416.769804L388.563173 783.484538m-1.997637-4.234989l28.90295 239.933293h175.643636s28.537667-194.227365 32.544356-221.38381c-10.684503 10.033844-50.032239 15.981094-94.105812 15.981094-57.075335 0-122.209707-10.079504-142.98513-34.519162z"></path><path d="M370.538782 631.401601l-79.871224 26.905313-3.789802 120.942635h41.710655l-32.453035 39.758678 72.611241 199.535371 48.514034 0.582168-46.721869-387.724165zM647.593873 634.928856l85.670078 24.565225 27.202105 79.996789-54.415625 22.088155 54.415625 17.670524-103.431922 238.951597-65.933427 0.92462 56.493166-384.19691z" fill="#A6D3DB"></path>',12),_f=[Sf],Cf=i.defineComponent({name:"EmptyFemaleImage",__name:"EmptyFemaleImage",setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("svg",wf,_f))}}),kf={class:"icon-image",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"72",height:"72"},Tf=i.createStaticVNode('<path d="M384.177143 618.594286l-263.142857 81.828571L70.131429 1024h883.737142l-50.902857-323.577143-283.337143-81.828571H384.177143z" fill="#262626"></path><path d="M422.828571 493.2h160.8v185.554286h-160.8z" fill="#EAA063"></path><path d="M734.52 196.205714c0 131.165714 11.725714 212.102857-225.771429 210.788572-230.011429-1.268571-249.222857-79.622857-249.222857-210.788572S380.828571 0 511.994286 0s222.525714 65.04 222.525714 196.205714z" fill="#834B12"></path><path d="M678.771429 325.302857c1.142857-101.257143-39.325714-174.64-39.325715-174.64l-60.571428 12.057143a500.48 500.48 0 0 1-81.874286 9.257143 500.571429 500.571429 0 0 1-81.885714-9.257143l-60.571429-12.057143s-40.377143 73.382857-39.325714 174.64l-1.142857 93.382857c0 68.571429 50.491429 80.354286 103.348571 116.068572 27.428571 18.491429 47.92 35.737143 79.508572 40.114285 31.577143-4.377143 52.114286-21.622857 79.497142-40.114285 52.857143-35.714286 103.348571-47.474286 103.348572-116.068572z" fill="#FFBF82"></path><path d="M319.457143 264.731429c-69.382857-29.554286-97.531429 101.794286-5.291429 153.954285zM670.714286 255.577143c69.417143-29.611429 97.531429 101.794286 5.291428 153.954286z" fill="#EAA063"></path><path d="M385.514286 625.382857l116.388571 49.577143 116.502857-49.622857-106.468571 316.24-126.422857-316.194286z" fill="#FFFFFF"></path><path d="M617.171429 626.662857l-105.291429 312.777143-125.017143-312.674286 114.445714 48.754286 0.582858 0.24 0.582857-0.24 114.697143-48.857143m2.445714-2.651428l-117.714286 50.148571-117.714286-50.148571 127.805715 319.737142 107.622857-319.702857z"></path><path d="M479.068571 935.611429l11.108572-235.988572h26.857143l11.108571 235.988572h-49.074286z" fill="#B292CB"></path><path d="M516.634286 700.022857l11.074285 235.188572h-48.217142l11.062857-235.188572h26.08m0.777143-0.8H489.788571l-11.142857 236.8h49.92l-11.154285-236.845714z"></path><path d="M484.52 735.177143a11.828571 11.828571 0 0 1-11.428571-8.937143l-7.268572-28.742857a11.828571 11.828571 0 0 1 11.428572-14.731429h49.28a11.828571 11.828571 0 0 1 11.428571 14.731429L530.702857 726.24a11.851429 11.851429 0 0 1-11.485714 8.937143z" fill="#B292CB"></path><path d="M526.531429 683.177143a11.428571 11.428571 0 0 1 11.085714 14.24l-7.268572 28.731428a11.428571 11.428571 0 0 1-11.085714 8.64h-34.742857a11.428571 11.428571 0 0 1-11.085714-8.64l-7.268572-28.731428a11.428571 11.428571 0 0 1 11.085715-14.24h49.28m0-0.811429h-49.28a12.24 12.24 0 0 0-11.862858 15.245715l7.257143 28.742857a12.24 12.24 0 0 0 11.874286 9.234285h34.742857a12.24 12.24 0 0 0 11.874286-9.234285l7.268571-28.742857a12.251429 12.251429 0 0 0-11.874285-15.245715z"></path><path d="M415.845714 583.931429l86.057143 94.822857-68.502857 60.262857-49.222857-120.422857 31.668571-34.662857z" fill="#FFFFFF"></path><path d="M587.948571 583.931429l-86.045714 94.822857 68.491429 60.262857 49.234285-120.422857-31.68-34.662857z" fill="#FFFFFF"></path><path d="M380.36 619.782857l-58.742857 18.285714 17.268571 94.194286 91.085715 44.685714-87.188572 36.16 169.668572 144.445715a5.028571 5.028571 0 0 0 7.885714-5.782857z" fill="#676568"></path><path d="M623.468571 619.714286l76.137143 21.977143a4.251429 4.251429 0 0 1 3.062857 4.08v128.228571a4.251429 4.251429 0 0 1-2.068571 3.645714l-92.4 55.097143a4.251429 4.251429 0 0 0 0.548571 7.565714l72.24 29.954286a4.251429 4.251429 0 0 1 0.8 7.405714L489.434286 1011.714286a4.24 4.24 0 0 1-6.422857-4.891429l135.28-384.445714a4.228571 4.228571 0 0 1 5.177142-2.662857z" fill="#676568"></path>',15),Of=[Tf],Af=i.defineComponent({name:"EmptyMaleImage",__name:"EmptyMaleImage",setup(e){return(t,n)=>(i.openBlock(),i.createElementBlock("svg",kf,Of))}});function Ps(e,t){return function(){return e.apply(t,arguments)}}const{toString:xf}=Object.prototype,{getPrototypeOf:no}=Object,Pn=(e=>t=>{const n=xf.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ie=e=>(e=e.toLowerCase(),t=>Pn(t)===e),Dn=e=>t=>typeof t===e,{isArray:Ot}=Array,jt=Dn("undefined");function Nf(e){return e!==null&&!jt(e)&&e.constructor!==null&&!jt(e.constructor)&&Ne(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ds=Ie("ArrayBuffer");function Pf(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ds(e.buffer),t}const Df=Dn("string"),Ne=Dn("function"),Bs=Dn("number"),Bn=e=>e!==null&&typeof e=="object",Bf=e=>e===!0||e===!1,pn=e=>{if(Pn(e)!=="object")return!1;const t=no(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Mf=Ie("Date"),$f=Ie("File"),Lf=Ie("Blob"),If=Ie("FileList"),Rf=e=>Bn(e)&&Ne(e.pipe),Vf=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ne(e.append)&&((t=Pn(e))==="formdata"||t==="object"&&Ne(e.toString)&&e.toString()==="[object FormData]"))},zf=Ie("URLSearchParams"),[Ff,jf,Uf,Hf]=["ReadableStream","Request","Response","Headers"].map(Ie),qf=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Ot(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let l;for(r=0;r<a;r++)l=s[r],t.call(null,e[l],l,e)}}function Ms(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const $s=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ls=e=>!jt(e)&&e!==$s;function Sr(){const{caseless:e}=Ls(this)&&this||{},t={},n=(r,o)=>{const s=e&&Ms(t,o)||o;pn(t[s])&&pn(r)?t[s]=Sr(t[s],r):pn(r)?t[s]=Sr({},r):Ot(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Yt(arguments[r],n);return t}const Wf=(e,t,n,{allOwnKeys:r}={})=>(Yt(t,(o,s)=>{n&&Ne(o)?e[s]=Ps(o,n):e[s]=o},{allOwnKeys:r}),e),Gf=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Kf=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Yf=(e,t,n,r)=>{let o,s,a;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)a=o[s],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&no(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Xf=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Jf=e=>{if(!e)return null;if(Ot(e))return e;let t=e.length;if(!Bs(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Zf=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&no(Uint8Array)),Qf=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},e1=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},t1=Ie("HTMLFormElement"),n1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),ui=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),r1=Ie("RegExp"),Is=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Yt(n,(o,s)=>{let a;(a=t(o,s,e))!==!1&&(r[s]=a||o)}),Object.defineProperties(e,r)},o1=e=>{Is(e,(t,n)=>{if(Ne(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Ne(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},i1=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return Ot(e)?r(e):r(String(e).split(t)),n},s1=()=>{},a1=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,sr="abcdefghijklmnopqrstuvwxyz",di="0123456789",Rs={DIGIT:di,ALPHA:sr,ALPHA_DIGIT:sr+sr.toUpperCase()+di},l1=(e=16,t=Rs.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function c1(e){return!!(e&&Ne(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const u1=e=>{const t=new Array(10),n=(r,o)=>{if(Bn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=Ot(r)?[]:{};return Yt(r,(a,l)=>{const c=n(a,o+1);!jt(c)&&(s[l]=c)}),t[o]=void 0,s}}return r};return n(e,0)},d1=Ie("AsyncFunction"),f1=e=>e&&(Bn(e)||Ne(e))&&Ne(e.then)&&Ne(e.catch),w={isArray:Ot,isArrayBuffer:Ds,isBuffer:Nf,isFormData:Vf,isArrayBufferView:Pf,isString:Df,isNumber:Bs,isBoolean:Bf,isObject:Bn,isPlainObject:pn,isReadableStream:Ff,isRequest:jf,isResponse:Uf,isHeaders:Hf,isUndefined:jt,isDate:Mf,isFile:$f,isBlob:Lf,isRegExp:r1,isFunction:Ne,isStream:Rf,isURLSearchParams:zf,isTypedArray:Zf,isFileList:If,forEach:Yt,merge:Sr,extend:Wf,trim:qf,stripBOM:Gf,inherits:Kf,toFlatObject:Yf,kindOf:Pn,kindOfTest:Ie,endsWith:Xf,toArray:Jf,forEachEntry:Qf,matchAll:e1,isHTMLForm:t1,hasOwnProperty:ui,hasOwnProp:ui,reduceDescriptors:Is,freezeMethods:o1,toObjectSet:i1,toCamelCase:n1,noop:s1,toFiniteNumber:a1,findKey:Ms,global:$s,isContextDefined:Ls,ALPHABET:Rs,generateString:l1,isSpecCompliantForm:c1,toJSONObject:u1,isAsyncFn:d1,isThenable:f1};function Z(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}w.inherits(Z,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:w.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Vs=Z.prototype,zs={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{zs[e]={value:e}});Object.defineProperties(Z,zs);Object.defineProperty(Vs,"isAxiosError",{value:!0});Z.from=(e,t,n,r,o,s)=>{const a=Object.create(Vs);return w.toFlatObject(e,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),Z.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const p1=null;function _r(e){return w.isPlainObject(e)||w.isArray(e)}function Fs(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function fi(e,t,n){return e?e.concat(t).map(function(o,s){return o=Fs(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function m1(e){return w.isArray(e)&&!e.some(_r)}const h1=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function Mn(e,t,n){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=w.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,O){return!w.isUndefined(O[y])});const r=n.metaTokens,o=n.visitor||u,s=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(o))throw new TypeError("visitor must be a function");function d(h){if(h===null)return"";if(w.isDate(h))return h.toISOString();if(!c&&w.isBlob(h))throw new Z("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(h)||w.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,y,O){let x=h;if(h&&!O&&typeof h=="object"){if(w.endsWith(y,"{}"))y=r?y:y.slice(0,-2),h=JSON.stringify(h);else if(w.isArray(h)&&m1(h)||(w.isFileList(h)||w.endsWith(y,"[]"))&&(x=w.toArray(h)))return y=Fs(y),x.forEach(function(B,p){!(w.isUndefined(B)||B===null)&&t.append(a===!0?fi([y],p,s):a===null?y:y+"[]",d(B))}),!1}return _r(h)?!0:(t.append(fi(O,y,s),d(h)),!1)}const m=[],S=Object.assign(h1,{defaultVisitor:u,convertValue:d,isVisitable:_r});function b(h,y){if(!w.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));m.push(h),w.forEach(h,function(x,I){(!(w.isUndefined(x)||x===null)&&o.call(t,x,w.isString(I)?I.trim():I,y,S))===!0&&b(x,y?y.concat(I):[I])}),m.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return b(e),t}function pi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ro(e,t){this._pairs=[],e&&Mn(e,this,t)}const js=ro.prototype;js.append=function(t,n){this._pairs.push([t,n])};js.toString=function(t){const n=t?function(r){return t.call(this,r,pi)}:pi;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function v1(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Us(e,t,n){if(!t)return e;const r=n&&n.encode||v1,o=n&&n.serialize;let s;if(o?s=o(t,n):s=w.isURLSearchParams(t)?t.toString():new ro(t,n).toString(r),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class mi{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){w.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Hs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},g1=typeof URLSearchParams<"u"?URLSearchParams:ro,y1=typeof FormData<"u"?FormData:null,b1=typeof Blob<"u"?Blob:null,E1={isBrowser:!0,classes:{URLSearchParams:g1,FormData:y1,Blob:b1},protocols:["http","https","file","blob","url","data"]},oo=typeof window<"u"&&typeof document<"u",w1=(e=>oo&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),S1=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",_1=oo&&window.location.href||"http://localhost",C1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:oo,hasStandardBrowserEnv:w1,hasStandardBrowserWebWorkerEnv:S1,origin:_1},Symbol.toStringTag,{value:"Module"})),Le={...C1,...E1};function k1(e,t){return Mn(e,new Le.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return Le.isNode&&w.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function T1(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function O1(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function qs(e){function t(n,r,o,s){let a=n[s++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),c=s>=n.length;return a=!a&&w.isArray(o)?o.length:a,c?(w.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!l):((!o[a]||!w.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],s)&&w.isArray(o[a])&&(o[a]=O1(o[a])),!l)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(r,o)=>{t(T1(r),o,n,0)}),n}return null}function A1(e,t,n){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Xt={transitional:Hs,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=w.isObject(t);if(s&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return o?JSON.stringify(qs(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t)||w.isReadableStream(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return k1(t,this.formSerializer).toString();if((l=w.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Mn(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),A1(t)):t}],transformResponse:[function(t){const n=this.transitional||Xt.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(w.isResponse(t)||w.isReadableStream(t))return t;if(t&&w.isString(t)&&(r&&!this.responseType||o)){const a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?Z.from(l,Z.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{Xt.headers[e]={}});const x1=w.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),N1=e=>{const t={};let n,r,o;return e&&e.split(`
`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&x1[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},hi=Symbol("internals");function Nt(e){return e&&String(e).trim().toLowerCase()}function mn(e){return e===!1||e==null?e:w.isArray(e)?e.map(mn):String(e)}function P1(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const D1=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ar(e,t,n,r,o){if(w.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!w.isString(t)){if(w.isString(r))return t.indexOf(r)!==-1;if(w.isRegExp(r))return r.test(t)}}function B1(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function M1(e,t){const n=w.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,a){return this[r].call(this,t,o,s,a)},configurable:!0})})}class Ce{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(l,c,d){const u=Nt(c);if(!u)throw new Error("header name must be a non-empty string");const m=w.findKey(o,u);(!m||o[m]===void 0||d===!0||d===void 0&&o[m]!==!1)&&(o[m||c]=mn(l))}const a=(l,c)=>w.forEach(l,(d,u)=>s(d,u,c));if(w.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(w.isString(t)&&(t=t.trim())&&!D1(t))a(N1(t),n);else if(w.isHeaders(t))for(const[l,c]of t.entries())s(c,l,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=Nt(t),t){const r=w.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return P1(o);if(w.isFunction(n))return n.call(this,o,r);if(w.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Nt(t),t){const r=w.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ar(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(a){if(a=Nt(a),a){const l=w.findKey(r,a);l&&(!n||ar(r,r[l],l,n))&&(delete r[l],o=!0)}}return w.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||ar(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return w.forEach(this,(o,s)=>{const a=w.findKey(r,s);if(a){n[a]=mn(o),delete n[s];return}const l=t?B1(s):String(s).trim();l!==s&&delete n[s],n[l]=mn(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return w.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&w.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[hi]=this[hi]={accessors:{}}).accessors,o=this.prototype;function s(a){const l=Nt(a);r[l]||(M1(o,a),r[l]=!0)}return w.isArray(t)?t.forEach(s):s(t),this}}Ce.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);w.reduceDescriptors(Ce.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});w.freezeMethods(Ce);function lr(e,t){const n=this||Xt,r=t||n,o=Ce.from(r.headers);let s=r.data;return w.forEach(e,function(l){s=l.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Ws(e){return!!(e&&e.__CANCEL__)}function At(e,t,n){Z.call(this,e??"canceled",Z.ERR_CANCELED,t,n),this.name="CanceledError"}w.inherits(At,Z,{__CANCEL__:!0});function Gs(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Z("Request failed with status code "+n.status,[Z.ERR_BAD_REQUEST,Z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function $1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function L1(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,a;return t=t!==void 0?t:1e3,function(c){const d=Date.now(),u=r[s];a||(a=d),n[o]=c,r[o]=d;let m=s,S=0;for(;m!==o;)S+=n[m++],m=m%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),d-a<t)return;const b=u&&d-u;return b?Math.round(S*1e3/b):void 0}}function I1(e,t){let n=0;const r=1e3/t;let o=null;return function(){const a=this===!0,l=Date.now();if(a||l-n>r)return o&&(clearTimeout(o),o=null),n=l,e.apply(null,arguments);o||(o=setTimeout(()=>(o=null,n=Date.now(),e.apply(null,arguments)),r-(l-n)))}}const Sn=(e,t,n=3)=>{let r=0;const o=L1(50,250);return I1(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,c=a-r,d=o(c),u=a<=l;r=a;const m={loaded:a,total:l,progress:l?a/l:void 0,bytes:c,rate:d||void 0,estimated:d&&l&&u?(l-a)/d:void 0,event:s,lengthComputable:l!=null};m[t?"download":"upload"]=!0,e(m)},n)},R1=Le.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(s){let a=s;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const l=w.isString(a)?o(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),V1=Le.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const a=[e+"="+encodeURIComponent(t)];w.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),w.isString(r)&&a.push("path="+r),w.isString(o)&&a.push("domain="+o),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function z1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function F1(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ks(e,t){return e&&!z1(t)?F1(e,t):t}const vi=e=>e instanceof Ce?{...e}:e;function ut(e,t){t=t||{};const n={};function r(d,u,m){return w.isPlainObject(d)&&w.isPlainObject(u)?w.merge.call({caseless:m},d,u):w.isPlainObject(u)?w.merge({},u):w.isArray(u)?u.slice():u}function o(d,u,m){if(w.isUndefined(u)){if(!w.isUndefined(d))return r(void 0,d,m)}else return r(d,u,m)}function s(d,u){if(!w.isUndefined(u))return r(void 0,u)}function a(d,u){if(w.isUndefined(u)){if(!w.isUndefined(d))return r(void 0,d)}else return r(void 0,u)}function l(d,u,m){if(m in t)return r(d,u);if(m in e)return r(void 0,d)}const c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(d,u)=>o(vi(d),vi(u),!0)};return w.forEach(Object.keys(Object.assign({},e,t)),function(u){const m=c[u]||o,S=m(e[u],t[u],u);w.isUndefined(S)&&m!==l||(n[u]=S)}),n}const Ys=e=>{const t=ut({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=Ce.from(a),t.url=Us(Ks(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(w.isFormData(n)){if(Le.hasStandardBrowserEnv||Le.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[d,...u]=c?c.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([d||"multipart/form-data",...u].join("; "))}}if(Le.hasStandardBrowserEnv&&(r&&w.isFunction(r)&&(r=r(t)),r||r!==!1&&R1(t.url))){const d=o&&s&&V1.read(s);d&&a.set(o,d)}return t},j1=typeof XMLHttpRequest<"u",U1=j1&&function(e){return new Promise(function(n,r){const o=Ys(e);let s=o.data;const a=Ce.from(o.headers).normalize();let{responseType:l}=o,c;function d(){o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}let u=new XMLHttpRequest;u.open(o.method.toUpperCase(),o.url,!0),u.timeout=o.timeout;function m(){if(!u)return;const b=Ce.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),y={data:!l||l==="text"||l==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:b,config:e,request:u};Gs(function(x){n(x),d()},function(x){r(x),d()},y),u=null}"onloadend"in u?u.onloadend=m:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(m)},u.onabort=function(){u&&(r(new Z("Request aborted",Z.ECONNABORTED,o,u)),u=null)},u.onerror=function(){r(new Z("Network Error",Z.ERR_NETWORK,o,u)),u=null},u.ontimeout=function(){let h=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const y=o.transitional||Hs;o.timeoutErrorMessage&&(h=o.timeoutErrorMessage),r(new Z(h,y.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,o,u)),u=null},s===void 0&&a.setContentType(null),"setRequestHeader"in u&&w.forEach(a.toJSON(),function(h,y){u.setRequestHeader(y,h)}),w.isUndefined(o.withCredentials)||(u.withCredentials=!!o.withCredentials),l&&l!=="json"&&(u.responseType=o.responseType),typeof o.onDownloadProgress=="function"&&u.addEventListener("progress",Sn(o.onDownloadProgress,!0)),typeof o.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",Sn(o.onUploadProgress)),(o.cancelToken||o.signal)&&(c=b=>{u&&(r(!b||b.type?new At(null,e,u):b),u.abort(),u=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c)));const S=$1(o.url);if(S&&Le.protocols.indexOf(S)===-1){r(new Z("Unsupported protocol "+S+":",Z.ERR_BAD_REQUEST,e));return}u.send(s||null)})},H1=(e,t)=>{let n=new AbortController,r;const o=function(c){if(!r){r=!0,a();const d=c instanceof Error?c:this.reason;n.abort(d instanceof Z?d:new At(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{o(new Z(`timeout ${t} of ms exceeded`,Z.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",o):c.unsubscribe(o))}),e=null)};e.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",o));const{signal:l}=n;return l.unsubscribe=a,[l,()=>{s&&clearTimeout(s),s=null}]},q1=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},W1=async function*(e,t,n){for await(const r of e)yield*q1(ArrayBuffer.isView(r)?r:await n(String(r)),t)},gi=(e,t,n,r,o)=>{const s=W1(e,t,o);let a=0;return new ReadableStream({type:"bytes",async pull(l){const{done:c,value:d}=await s.next();if(c){l.close(),r();return}let u=d.byteLength;n&&n(a+=u),l.enqueue(new Uint8Array(d))},cancel(l){return r(l),s.return()}},{highWaterMark:2})},yi=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},$n=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Xs=$n&&typeof ReadableStream=="function",Cr=$n&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),G1=Xs&&(()=>{let e=!1;const t=new Request(Le.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),bi=64*1024,kr=Xs&&!!(()=>{try{return w.isReadableStream(new Response("").body)}catch{}})(),_n={stream:kr&&(e=>e.body)};$n&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!_n[t]&&(_n[t]=w.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Z(`Response type '${t}' is not supported`,Z.ERR_NOT_SUPPORT,r)})})})(new Response);const K1=async e=>{if(e==null)return 0;if(w.isBlob(e))return e.size;if(w.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(w.isArrayBufferView(e))return e.byteLength;if(w.isURLSearchParams(e)&&(e=e+""),w.isString(e))return(await Cr(e)).byteLength},Y1=async(e,t)=>{const n=w.toFiniteNumber(e.getContentLength());return n??K1(t)},X1=$n&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:c,responseType:d,headers:u,withCredentials:m="same-origin",fetchOptions:S}=Ys(e);d=d?(d+"").toLowerCase():"text";let[b,h]=o||s||a?H1([o,s],a):[],y,O;const x=()=>{!y&&setTimeout(()=>{b&&b.unsubscribe()}),y=!0};let I;try{if(c&&G1&&n!=="get"&&n!=="head"&&(I=await Y1(u,r))!==0){let g=new Request(t,{method:"POST",body:r,duplex:"half"}),f;w.isFormData(r)&&(f=g.headers.get("content-type"))&&u.setContentType(f),g.body&&(r=gi(g.body,bi,yi(I,Sn(c)),null,Cr))}w.isString(m)||(m=m?"cors":"omit"),O=new Request(t,{...S,signal:b,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:m});let B=await fetch(O);const p=kr&&(d==="stream"||d==="response");if(kr&&(l||p)){const g={};["status","statusText","headers"].forEach(v=>{g[v]=B[v]});const f=w.toFiniteNumber(B.headers.get("content-length"));B=new Response(gi(B.body,bi,l&&yi(f,Sn(l,!0)),p&&x,Cr),g)}d=d||"text";let V=await _n[w.findKey(_n,d)||"text"](B,e);return!p&&x(),h&&h(),await new Promise((g,f)=>{Gs(g,f,{data:V,headers:Ce.from(B.headers),status:B.status,statusText:B.statusText,config:e,request:O})})}catch(B){throw x(),B&&B.name==="TypeError"&&/fetch/i.test(B.message)?Object.assign(new Z("Network Error",Z.ERR_NETWORK,e,O),{cause:B.cause||B}):Z.from(B,B&&B.code,e,O)}}),Tr={http:p1,xhr:U1,fetch:X1};w.forEach(Tr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ei=e=>`- ${e}`,J1=e=>w.isFunction(e)||e===null||e===!1,Js={getAdapter:e=>{e=w.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let s=0;s<t;s++){n=e[s];let a;if(r=n,!J1(n)&&(r=Tr[(a=String(n)).toLowerCase()],r===void 0))throw new Z(`Unknown adapter '${a}'`);if(r)break;o[a||"#"+s]=r}if(!r){const s=Object.entries(o).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since :
`+s.map(Ei).join(`
`):" "+Ei(s[0]):"as no adapter specified";throw new Z("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Tr};function cr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new At(null,e)}function wi(e){return cr(e),e.headers=Ce.from(e.headers),e.data=lr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Js.getAdapter(e.adapter||Xt.adapter)(e).then(function(r){return cr(e),r.data=lr.call(e,e.transformResponse,r),r.headers=Ce.from(r.headers),r},function(r){return Ws(r)||(cr(e),r&&r.response&&(r.response.data=lr.call(e,e.transformResponse,r.response),r.response.headers=Ce.from(r.response.headers))),Promise.reject(r)})}const Zs="1.7.2",io={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{io[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Si={};io.transitional=function(t,n,r){function o(s,a){return"[Axios v"+Zs+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,l)=>{if(t===!1)throw new Z(o(a," has been removed"+(n?" in "+n:"")),Z.ERR_DEPRECATED);return n&&!Si[a]&&(Si[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,l):!0}};function Z1(e,t,n){if(typeof e!="object")throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],a=t[s];if(a){const l=e[s],c=l===void 0||a(l,s,e);if(c!==!0)throw new Z("option "+s+" must be "+c,Z.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Z("Unknown option "+s,Z.ERR_BAD_OPTION)}}const Or={assertOptions:Z1,validators:io},Ze=Or.validators;class lt{constructor(t){this.defaults=t,this.interceptors={request:new mi,response:new mi}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ut(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Or.assertOptions(r,{silentJSONParsing:Ze.transitional(Ze.boolean),forcedJSONParsing:Ze.transitional(Ze.boolean),clarifyTimeoutError:Ze.transitional(Ze.boolean)},!1),o!=null&&(w.isFunction(o)?n.paramsSerializer={serialize:o}:Or.assertOptions(o,{encode:Ze.function,serialize:Ze.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&w.merge(s.common,s[n.method]);s&&w.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=Ce.concat(a,s);const l=[];let c=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(c=c&&y.synchronous,l.unshift(y.fulfilled,y.rejected))});const d=[];this.interceptors.response.forEach(function(y){d.push(y.fulfilled,y.rejected)});let u,m=0,S;if(!c){const h=[wi.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,d),S=h.length,u=Promise.resolve(n);m<S;)u=u.then(h[m++],h[m++]);return u}S=l.length;let b=n;for(m=0;m<S;){const h=l[m++],y=l[m++];try{b=h(b)}catch(O){y.call(this,O);break}}try{u=wi.call(this,b)}catch(h){return Promise.reject(h)}for(m=0,S=d.length;m<S;)u=u.then(d[m++],d[m++]);return u}getUri(t){t=ut(this.defaults,t);const n=Ks(t.baseURL,t.url);return Us(n,t.params,t.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(t){lt.prototype[t]=function(n,r){return this.request(ut(r||{},{method:t,url:n,data:(r||{}).data}))}});w.forEach(["post","put","patch"],function(t){function n(r){return function(s,a,l){return this.request(ut(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}lt.prototype[t]=n(),lt.prototype[t+"Form"]=n(!0)});class so{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const a=new Promise(l=>{r.subscribe(l),s=l}).then(o);return a.cancel=function(){r.unsubscribe(s)},a},t(function(s,a,l){r.reason||(r.reason=new At(s,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new so(function(o){t=o}),cancel:t}}}function Q1(e){return function(n){return e.apply(null,n)}}function ep(e){return w.isObject(e)&&e.isAxiosError===!0}const Ar={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ar).forEach(([e,t])=>{Ar[t]=e});function Qs(e){const t=new lt(e),n=Ps(lt.prototype.request,t);return w.extend(n,lt.prototype,t,{allOwnKeys:!0}),w.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Qs(ut(e,o))},n}const ue=Qs(Xt);ue.Axios=lt;ue.CanceledError=At;ue.CancelToken=so;ue.isCancel=Ws;ue.VERSION=Zs;ue.toFormData=Mn;ue.AxiosError=Z;ue.Cancel=ue.CanceledError;ue.all=function(t){return Promise.all(t)};ue.spread=Q1;ue.isAxiosError=ep;ue.mergeConfig=ut;ue.AxiosHeaders=Ce;ue.formToJSON=e=>qs(w.isHTMLForm(e)?new FormData(e):e);ue.getAdapter=Js.getAdapter;ue.HttpStatusCode=Ar;ue.default=ue;const Jt=ue.create({baseURL:"/",timeout:100*1e3,withCredentials:!0,headers:{common:{"X-Requested-With":"XMLHttpRequest"},post:{"Content-Type":"application/json;charset=utf-8"}}});Jt.interceptors.request.use(e=>{try{if(parent.window){const t=parent.window.localStorage.getItem("authorizationKey"),n=parent.window.localStorage.getItem("authorizationValue");parent.window.localStorage.getItem("flowtoken"),e.headers.flowtoken=parent.window.localStorage.getItem("flowtoken"),e.headers[t]=n}else console.error("只在在流程中心用iframe打开，才能获取token!")}catch(t){e.headers.flowtoken=localStorage.getItem("flowtoken");const n=window.localStorage.getItem("authorizationKey");e.headers[n]=window.localStorage.getItem("authorizationValue"),console.error("获取父窗口的token失败！"+t)}return e},e=>Promise.reject(e));Jt.interceptors.response.use(e=>{if(e&&e.status==200){const t=e.data.code,n=e.data.msg;return t==="100"?Promise.resolve(e.data):t==400?Promise.reject(n):t==="101"?(Et.error(n),Promise.reject(n)):Promise.reject(e.data)}else return Promise.reject(e==null?void 0:e.data)},e=>Promise.reject(e));const tp="",Pt=tp+"/flow/query",ao={GetCurrTaskApplyersByBusinessKey:Pt+"/getCurrTaskApplyersByBusinessKey",GetCustomFlowSequenceFlows:Pt+"/getCustomFlowSequenceFlows",GetHighLightedNodeVoByProcessInstanceId:Pt+"/getHighLightedNodeVoByProcessInstanceId",GetOneActivityVoByProcessInstanceIdAndActivityId:Pt+"/getOneActivityVoByProcessInstanceIdAndActivityId",GetBpmnByModelKey:Pt+"/getBpmnByModelKey"};function np(e){return Jt({method:"GET",url:ao.GetHighLightedNodeVoByProcessInstanceId+"/"+e,params:{}})}function rp(e){return Jt({method:"GET",url:ao.GetOneActivityVoByProcessInstanceIdAndActivityId+"/"+e.procInstId+"/"+e.elementId,params:{}})}function op(e){return Jt({method:"GET",url:ao.GetBpmnByModelKey+"/"+e,params:{}})}function ip(e){return xn(e,"flowable:Field")}function sp(e,t){return xn(e).find(n=>G.is(n,t))}function gt(e,t,n={}){const r=ip(e),o=t.reduce((a,l)=>{const[c,d="string"]=l.split(".");return a[c]=d,a},{}),s={};for(const a of r){const l=a.get("name");if(o[l]){const c=n[l];c?s[l]=c(a):s[l]=a.get(o[l])}}return s}function ap(e){return nt(e,"bpmn:ErrorEventDefinition")}function lp(e){if(!e)return;if(typeof e.get("timeDate")<"u")return"timeDate";if(typeof e.get("timeCycle")<"u")return"timeCycle";if(typeof e.get("timeDuration")<"u")return"timeDuration"}function cp(e){return nt(e,"bpmn:TimerEventDefinition")}function nt(e,t){return(G.getBusinessObject(e).get("eventDefinitions")||[]).find(o=>G.is(o,t))}function up(e){return G.is(e,"bpmn:ReceiveTask")?G.getBusinessObject(e):nt(e,"bpmn:MessageEventDefinition")}function dp(e){return nt(e,"bpmn:SignalEventDefinition")}function xr(e){return nt(e,"bpmn:ConditionalEventDefinition")}function fp(e){return nt(e,"bpmn:EscalationEventDefinition")}function pp(e){return nt(e,"bpmn:CompensateEventDefinition")}function mp(e){return nt(e,"bpmn:TerminateEventDefinition")}function ea(e){return xn(G.getBusinessObject(e),"flowable:VariableListenerEventDefinition")[0]}const hp=["bpmn:UserTask"],ta=["bpmn:ServiceTask","bpmn:SequenceFlow","bpmn:ScriptTask","bpmn:CallActivity","bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:IntermediateCatchEvent"],_i=e=>e.type!=="label"&&G.isAny(e,hp),Ci=e=>e.type==="label"?!1:G.is(e,"bpmn:SequenceFlow")?na(e):G.isAny(e,["bpmn:EndEvent","bpmn:StartEvent","bpmn:IntermediateThrowEvent","bpmn:IntermediateCatchEvent"])?!bp(e):G.isAny(e,ta),vp={"bpmn:UserTask":{custom:!0}},gp={"bpmn:ServiceTask":e=>{var d;const t=e.businessObject,n=t.get("name"),r=n||e.type.replace(/bpmn:|flowable:/,""),o=["nodeType"],s={nodeType:e.type},a={},l=[];n||l.push("header");const c=t.get("type");if(c)switch(o.push("serviceType"),l.push("serviceType"),s.serviceType=c,a.serviceType="arcoblue",c){case"rest":o.push("requestMethod","requestUrl","requestBody"),Object.assign(s,gt(t,["requestMethod","requestUrl","requestBody.expression"]));break;case"copy":o.push("transferToUserNos");const u=sp(t,"flowable:IdmCandidateUsers"),m=u==null?void 0:u.get("body");m?s.transferToUserNos=(d=JSON.parse(m))==null?void 0:d.map(S=>S.name).join(","):Object.assign(s,gt(t,["transferToUserNos"])),a.transferToUserNos="arcoblue";break;case"http":o.push("requestUrl","requestMethod"),Object.assign(s,gt(t,["requestUrl","requestMethod"]));break;case"dmn":o.push("decisionTableReferenceName"),Object.assign(s,gt(t,["decisionTableReferenceName"])),a.decisionTableReferenceName="arcoblue";break;case"sc":o.push("serviceId","url","method"),Object.assign(s,gt(t,["serviceId","url","method"]));break;case"mail":o.push("mailTo","subject","mailContent"),Object.assign(s,gt(t,["to.expression","subject","html.expression"]));break}return{loading:!1,header:r,attrs:o,values:s,tags:a,i18n:l}},"bpmn:ScriptTask":e=>{const t=e.businessObject,n=t.get("name"),r=n||e.type.replace("bpmn:",""),o=["scriptFormat"],s={scriptFormat:t.scriptFormat},a={},l=[];return n||l.push("header"),{loading:!1,header:r,attrs:o,values:s,tags:a,i18n:l}},"bpmn:CallActivity":e=>{const t=e.businessObject,n=t.get("name"),r=n||e.type.replace("bpmn:",""),o=["calledInstance","inheritVariables"],s={calledInstance:t.get("processInstanceName"),inheritVariables:t.get("inheritVariables")||"false"},a={calledInstance:"arcoblue"},l=["inheritVariables"];return n||l.push("header"),{loading:!1,header:r,attrs:o,values:s,tags:a,i18n:l}},"bpmn:SequenceFlow":e=>{const n=e.businessObject.get("name"),r=n||e.type.replace("bpmn:",""),o=["condition"],s=na(e),a={condition:s==null?void 0:s.get("body")},l={},c=[];return n||c.push("header"),{loading:!1,header:r,attrs:o,values:a,tags:l,i18n:c}},"bpmn:StartEvent":ln,"bpmn:EndEvent":ln,"bpmn:IntermediateThrowEvent":ln,"bpmn:IntermediateCatchEvent":ln};function ln(e){var I,B,p,V,g;const n=e.businessObject.get("name"),r=!1,o=n||e.type.replace("bpmn:",""),s=["eventDefinition"],a={},l={eventDefinition:"arcoblue"},c=["eventDefinition"];n||c.push("header");const d=ap(e);if(d)return s.push("eventDefinitionName"),a.eventDefinition="Error",a.eventDefinitionName=((I=d.get("errorRef"))==null?void 0:I.name)||"-",{loading:r,i18n:c,header:o,attrs:s,values:a,tags:l};const u=dp(e);if(u)return s.push("eventDefinitionName"),a.eventDefinition="Signal",a.eventDefinitionName=((B=u.get("signalRef"))==null?void 0:B.name)||"-",{loading:r,i18n:c,header:o,attrs:s,values:a,tags:l};const m=up(e);if(m)return s.push("eventDefinitionName"),a.eventDefinition="Message",a.eventDefinitionName=((p=m.get("messageRef"))==null?void 0:p.name)||"-",{loading:r,i18n:c,header:o,attrs:s,values:a,tags:l};const S=fp(e);if(S)return s.push("eventDefinitionName"),a.eventDefinition="Escalation",a.eventDefinitionName=((V=S.get("escalationRef"))==null?void 0:V.name)||"-",{loading:r,i18n:c,header:o,attrs:s,values:a,tags:l};if(pp(e))return a.eventDefinition="Compensate",{loading:r,i18n:c,header:o,attrs:s,values:a,tags:l};if(mp(e))return s.push("terminateAll"),a.eventDefinition="Terminate",a.terminateAll=S.terminateAll||"-",{loading:r,i18n:c,header:o,attrs:s,values:a,tags:l};const y=ea(e);if(y)return s.push("variableName","variableChangeType"),c.push("variableChangeType"),a.eventDefinition="VariableListener",a.variableName=y.get("variableName")||"-",a.variableChangeType=`var-${y.get("variableChangeType")||"-"}`,{loading:r,i18n:c,header:o,attrs:s,values:a,tags:l};const O=xr(e);if(O)return s.push("conditionExpression"),a.eventDefinition="Conditional",a.conditionExpression=((g=O.get("condition"))==null?void 0:g.body)||"-",{loading:r,i18n:c,header:o,attrs:s,values:a,tags:l};const x=cp(e);if(x){a.eventDefinition="Timer",s.push("timerDefinitionType","timerEventDefValue"),c.push("timerDefinitionType");const f=lp(x)||"";return a.timerDefinitionType=f,a.timerEventDefValue=f?yp(x.get(f)):"-",{loading:r,i18n:c,header:o,attrs:s,values:a,tags:l}}return{loading:r,i18n:c,header:o,attrs:s,values:a,tags:l}}function yp(e){return e&&e.get("body")||""}function bp(e){return ea(e)?!1:!e.businessObject.eventDefinitions||!e.businessObject.eventDefinitions.length}function na(e){const t=G.getBusinessObject(e);if(G.is(t,"bpmn:SequenceFlow"))return t.get("conditionExpression");if(xr(t))return xr(t).get("condition")}const Ep={class:"bpmn-preset-viewer"},wp={class:"node-details_wrap"},Sp={key:0,class:"node-details-info"},_p={class:"details_header"},Cp={class:"details_label"},kp={class:"details_value"},Tp={style:{"padding-right":"8px"}},Op={class:"person-information-grid"},Ap={class:"details_special"},xp={class:"header-person-img"},Np=["src"],Pp={class:"details_label"},Dp={class:"details_value",style:{display:"inline-flex","align-items":"center"}},Bp={class:"details_label"},Mp={class:"details_value"},$p={class:"details_label"},Lp={class:"details_value"},Ip={class:"details_label"},Rp={class:"details_value long"},Vp={class:"details_label"},zp={class:"details_value long"},Fp={class:"details_label"},jp={class:"details_value"},Up={class:"details_label"},Hp={class:"details_value"},qp={class:"details_label"},Wp={class:"details_value"},Gp={class:"details_label"},Kp={class:"details_value"},Yp={class:"details_header"},Xp={class:"details_label"},Jp={class:"details_value"},Zp={key:1},Qp=i.defineComponent({name:"BpmnPresetViewer",__name:"index",props:{procInstId:{type:String,required:!0},modelKey:{type:String,required:!0},theme:{type:String,default:"light"},local:{type:String,default:"zh_CN"},translatePrefix:{type:String,default:""},showDownload:{type:Boolean,default:!1},fileName:{type:String,default:""}},emits:["viewer-init","element-hover","data-change"],setup(e,{expose:t,emit:n}){const r=n,o=e,{locale:s,t:a}=Nr.useI18n(),l=i.ref(),c=i.ref(!1),d=i.ref([]),u=i.ref({}),m={processing:"arcoblue",finish:"green",pending:"orangered"},S=i.shallowRef(),b=f=>f?o.translatePrefix+f:"-",h=f=>{if(f)return document.body.setAttribute("arco-theme",f);const v=document.body.getAttribute("arco-theme")==="dark";document.body.setAttribute("arco-theme",v?"light":"dark")},y=f=>{var v;f?s.value=f:s.value=s.value==="zh_CN"?"en_US":"zh_CN",Gr("local-lang",s.value),(v=S.value)==null||v.get("eventBus").fire("i18n.changed")},O=()=>{var v;const f=(v=S.value)==null?void 0:v.get("elementRegistry");console.log("registry start...----->",f),console.log("registry bpmnViewer...----->",S.value),f&&(d.value=f.filter(C=>_i(C)||Ci(C)).map(C=>C.id),console.log("shapeAndPops.value....----->",d.value))},x=f=>(S.value=f)&&r("viewer-init",f),I=async(f,v)=>{var C,P;try{const{data:A={}}=await rp({procInstId:o.procInstId,elementId:v}),$=vp[f];if($.custom){u.value[v]={loading:!1,custom:!0,...A};return}const N={loading:!1,header:A[$.header],attrs:$.attrs},k={},z={};for(const T of $.attrs)(C=$.formatters)!=null&&C[T]?k[T]=$.formatters[T](A):k[T]=A[T],(P=$.useTag)!=null&&P[T]&&(z[T]=typeof $.useTag[T]=="function"?$.useTag[T](A):$.useTag[T]);u.value[v]={...N,values:k,tags:z}}catch(A){Et.error((A==null?void 0:A.message)||"请求失败")}finally{u.value[v].loading=!1}},B=f=>{if(!u.value[f.id]){if(_i(f))return u.value[f.id]={loading:!0},I(f.type,f.id);if(Ci(f))for(const v of ta)G.is(f,v)&&(u.value[f.id]=gp[v](f))}},p=async(f,v)=>{var C,P,A,$,N;if((C=S.value)==null||C.clear(),!f&&!v){Et.error("modelKey和procInstId不能同时为空！");return}try{await i.nextTick(),d.value=[],u.value={},c.value=!0;const{data:k,success:z,msg:T}=v?await np(v):await op(f);if(z){const{activeActivityIds:F=[],hisActiveActivityIds:q=[],modelXml:J,highLightedFlows:Q=[]}=k||{};if(!J)return;await((P=l.value)==null?void 0:P.createNewProcess(J)),v&&((A=l.value)==null||A.setPassedNodes([...Q,...q]),($=l.value)==null||$.setActiveNodes([...F]),(N=l.value)==null||N.setProcessingMarker([...F]),O())}else Et.error(T);r("data-change",k)}finally{c.value=!1}};return i.watch(()=>o.local,f=>y(f),{immediate:!0}),i.watch(()=>o.theme,f=>h(f),{immediate:!0}),i.watch(()=>({procInstId:o.procInstId,modelKey:o.modelKey}),({procInstId:f,modelKey:v})=>p(v,f),{immediate:!0}),t({reloadViewerXML:p,downloadProcess:async(f,v)=>{var C;(C=l.value)==null||C.downloadProcess(f,v)},toggleTheme:h,toggleLang:y,downloadProcessAsPng:async f=>{var v;(v=l.value)==null||v.downloadProcessAsPng(f)}}),(f,v)=>{const C=Af,P=Cf,A=Ef,$=pf,N=Ns;return i.openBlock(),i.createElementBlock("div",Ep,[i.createVNode(is,{ref_key:"viewer",ref:l,loading:i.unref(c),theme:e.theme,local:e.local,"translate-prefix":e.translatePrefix,"show-download":e.showDownload,"file-name":e.fileName,"in-preset":"",onViewerInit:x,onViewerDestroy:x,onElementHover:B},null,8,["loading","theme","local","translate-prefix","show-download","file-name"]),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(d),k=>(i.openBlock(),i.createBlock(N,{key:k,"selector-parent":i.unref(l).$el,"z-index":8888,target:`[data-element-id=${k}]`},{default:i.withCtx(()=>[i.createVNode(i.unref(Rr),{loading:i.unref(u)[k]&&i.unref(u)[k].loading},{default:i.withCtx(()=>{var z;return[i.createElementVNode("div",wp,[i.unref(u)[k]?(i.openBlock(),i.createElementBlock("div",Sp,[i.unref(u)[k].custom?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createElementVNode("div",_p,i.toDisplayString(i.unref(u)[k].name),1),i.createElementVNode("div",Cp,i.toDisplayString(i.unref(a)(b("approver"))),1),i.createElementVNode("div",kp,[i.createElementVNode("div",{class:"approval-user-list",style:i.normalizeStyle({"--approval-num":i.unref(u)[k].approvalVos.length})},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(u)[k].approvalVos,T=>(i.openBlock(),i.createBlock(i.unref(Mt),{key:T.code,position:"bottom",style:{zIndex:9999},title:i.unref(a)(b("Personnel information"))},{content:i.withCtx(()=>[i.createElementVNode("div",Op,[i.createElementVNode("div",Ap,[i.createElementVNode("div",xp,[T.headerImg?(i.openBlock(),i.createElementBlock("img",{key:0,src:T.headerImg,alt:"image"},null,8,Np)):i.createCommentVNode("",!0),!T.headerImg&&T.sex===1?(i.openBlock(),i.createBlock(C,{key:1})):i.createCommentVNode("",!0),!T.headerImg&&T.sex===2?(i.openBlock(),i.createBlock(P,{key:2})):i.createCommentVNode("",!0)])]),i.createElementVNode("div",Pp,i.toDisplayString(i.unref(a)(b("Person name"))),1),i.createElementVNode("div",Dp,[i.createElementVNode("span",null,i.toDisplayString(T.name),1),T.sex===1?(i.openBlock(),i.createBlock(A,{key:0,color:"#0099FF"})):i.createCommentVNode("",!0),T.sex===2?(i.openBlock(),i.createBlock($,{key:1,color:"#FF99CC"})):i.createCommentVNode("",!0)]),i.createElementVNode("div",Bp,i.toDisplayString(i.unref(a)(b("Job number"))),1),i.createElementVNode("div",Mp,i.toDisplayString(T.code),1),i.createElementVNode("div",$p,i.toDisplayString(i.unref(a)(b("Mobile phone"))),1),i.createElementVNode("div",Lp,i.toDisplayString(T.mobile||"-"),1),i.createElementVNode("div",Ip,i.toDisplayString(i.unref(a)(b("Mail"))),1),i.createElementVNode("div",Rp,i.toDisplayString(T.email||"-"),1),i.createElementVNode("div",Vp,i.toDisplayString(i.unref(a)(b("Affiliation"))),1),i.createElementVNode("div",zp,i.toDisplayString(`${T.companyName||"-"}${T.deptName?" - "+T.deptName:""}`),1)])]),default:i.withCtx(()=>[i.createVNode(i.unref(Jn),{size:"small",color:T.status?"arcoblue":"orangered"},{default:i.withCtx(()=>[i.createElementVNode("span",Tp,i.toDisplayString(T.name),1),T.status?(i.openBlock(),i.createBlock(i.unref(gu),{key:0,size:12})):(i.openBlock(),i.createBlock(i.unref(yu),{key:1,size:12}))]),_:2},1032,["color"])]),_:2},1032,["title"]))),128))],4)]),i.createElementVNode("div",Fp,i.toDisplayString(i.unref(a)(b("statusName"))),1),i.createElementVNode("div",jp,[i.createVNode(i.unref(Jn),{color:m[i.unref(u)[k].status]||"arcoblue"},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(u)[k].statusName||"-"),1)]),_:2},1032,["color"])]),i.createElementVNode("div",Up,i.toDisplayString(i.unref(a)(b("startDate"))),1),i.createElementVNode("div",Hp,i.toDisplayString(i.unref(u)[k].startDate||"-"),1),i.createElementVNode("div",qp,i.toDisplayString(i.unref(a)(b("endDate"))),1),i.createElementVNode("div",Wp,i.toDisplayString(i.unref(u)[k].status==="processing"?"-":i.unref(u)[k].endDate||"-"),1),i.createElementVNode("div",Gp,i.toDisplayString(i.unref(a)(b("duration"))),1),i.createElementVNode("div",Kp,i.toDisplayString(i.unref(u)[k].status==="processing"?"-":i.unref(u)[k].duration||"-"),1)],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createElementVNode("div",Yp,i.toDisplayString((z=i.unref(u)[k].i18n)!=null&&z.includes("header")?i.unref(a)(i.unref(u)[k].header):i.unref(u)[k].header),1),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(u)[k].attrs,T=>{var F,q,J,Q,de;return i.openBlock(),i.createElementBlock(i.Fragment,{key:T},[i.createElementVNode("div",Xp,i.toDisplayString(i.unref(a)(b(T))),1),i.createElementVNode("div",Jp,[(F=i.unref(u)[k].tags)!=null&&F[T]?(i.openBlock(),i.createBlock(i.unref(Jn),{key:0,size:"small",color:((q=i.unref(u)[k].tags)==null?void 0:q[T])||"arcoblue"},{default:i.withCtx(()=>{var ae,he,fe;return[i.createTextVNode(i.toDisplayString((ae=i.unref(u)[k].i18n)!=null&&ae.includes(T)?i.unref(a)(b((he=i.unref(u)[k].values)==null?void 0:he[T])):((fe=i.unref(u)[k].values)==null?void 0:fe[T])||"-"),1)]}),_:2},1032,["color"])):(i.openBlock(),i.createElementBlock("span",Zp,i.toDisplayString((J=i.unref(u)[k].i18n)!=null&&J.includes(T)?i.unref(a)(b((Q=i.unref(u)[k].values)==null?void 0:Q[T])):((de=i.unref(u)[k].values)==null?void 0:de[T])||"-"),1))])],64)}),128))],64))])):i.createCommentVNode("",!0)])]}),_:2},1032,["loading"])]),_:2},1032,["selector-parent","target"]))),128))])}}});exports.BpmnMocker=hu;exports.BpmnPresetViewer=Qp;exports.BpmnViewer=is;exports.TippyPopover=Ns;
